# #6840b6 color: Soft dark violet

#6840b6 is rgb(104, 64, 182) in RGB and oklch(48.297% 0.1773 294.392) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/6840b6

## Formats

| Format | Value |
| --- | --- |
| HEX | #6840b6 |
| RGB | rgb(104, 64, 182) |
| HSL | hsl(260.34, 47.97%, 48.24%) |
| HSB / HSV | hsv(260.34 64.84% 71.37%) |
| HWB | hwb(260.34 25.1% 28.63%) |
| CMYK | cmyk(43% 65% 0% 29%) |
| Lab | lab(37.1 38.25 -57.42) |
| LCH | lch(37.1 68.99 303.67) |
| OKLab | oklab(48.297% 0.07322 -0.16148) |
| OKLCH | oklch(48.297% 0.1773 294.392) |
| Display P3 | color(display-p3 0.38554 0.25806 0.68866) |
| Rec. 2020 | color(rec2020 0.33039 0.21531 0.64926) |
| Adobe RGB | color(a98-rgb 0.37194 0.25904 0.69598) |
| ProPhoto RGB | color(prophoto-rgb 0.35617 0.23107 0.61202) |
| Linear sRGB | color(srgb-linear 0.13843 0.05127 0.46778) |
| XYZ D65 | color(xyz-d65 0.15985 0.09987 0.45343) |
| XYZ D50 | color(xyz-d50 0.14704 0.09591 0.34095) |
| SwiftUI | Color(red: 0.408, green: 0.251, blue: 0.714) |
| UIKit | UIColor(red: 0.408, green: 0.251, blue: 0.714, alpha: 1) |
| Flutter / Compose | Color(0xFF6840B6) |
| Android XML | #6840B6 |

## Facts

- Closest name: Soft dark violet
- Hue family: Violet, soft dark violet
- Closest Tailwind class: purple-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 7.01:1
- Contrast with black: 3:1

## Tints

#6840b6, #7555bf, #8368c7, #917bcf, #9f8ed7, #aea1de, #beb3e5, #cec6ec, #ded9f3, #eeecf9

## Shades

#6840b6, #59369e, #4b2d86, #3e246f, #301b59, #241344, #180b30, #0c051d, #04010c, #000002

## Tones

#6840b6, #6745ae, #654aa5, #644d9d, #635194, #62548b, #615683, #60597a, #5f5b71, #5f5d68

## Harmonies

- Complementary: #6840b6, #5e6500
- Split: #6840b6, #7d5700, #007600
- Analogous: #6840b6, #2954c1, #8c2e95
- Triadic: #6840b6, #994100, #00725a
- Tetradic: #6840b6, #a41e64, #5e6500, #00725a
- Square: #6840b6, #ac1d26, #5e6500, #006e79
- Monochromatic: #6840b6, #2a0060, #49168f, #8a65de, #ae8bff

## Questions about #6840b6

### What color is #6840b6?

#6840b6 is soft dark violet. The closest named color is Soft dark violet. In RGB it is rgb(104, 64, 182), in HSL hsl(260.34, 47.97%, 48.24%) and in OKLCH oklch(48.297% 0.1773 294.392).

### What colors go well with #6840b6?

The complementary color of #6840b6 is #5e6500. For a calmer combination use the analogous colors #2954c1 and #8c2e95. The triadic partners are #994100 and #00725a.

### Is white or black text more readable on #6840b6?

White text reads better on #6840b6: white gives a contrast ratio of 7.01:1 and black gives 3:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #6840b6 a warm or cool color?

#6840b6 is a cool color. In OKLCH its hue is 294 degrees, its lightness 48.3% and its chroma 0.177.
