#6839B3#6839B3

#6839B3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.183 H 296.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6839B3
RGBrgb(104, 57, 179)
HSLhsl(263, 52%, 46%)
HSVhsv(263, 68%, 70%)
CMYKcmyk(41.9%, 68.2%, 0%, 29.8%)
CIE-LABlab(36.22, 46.94, -57.37)
CIE-LCHlch(36.22, 74.12, 309.29°)
OKLaboklab(47.08% 0.0811 -0.1639)
OKLCHoklch(47.08% 0.183 296.3)
XYZxyz(15.3066, 9.1237, 43.5937)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6839B3 #84B339
analogous
#3947B3 #6839B3 #A539B3
triadic
#6839B3 #B36839 #39B368
tetradic
#6839B3 #B33947 #84B339 #39B3A5
square
#6839B3 #B33947 #84B339 #39B3A5
split-complementary
#6839B3 #B3A539 #47B339
monochromatic
#321B56 #4D2A85 #6839B3 #885ECC #AA8CDA

Accessibility & contrast

On white

7.43
#6839B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6839B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6839B3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6839B3#FFFFFF#000000##FFFFFF
##6839B31.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#555671
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6839b3;
/* rgb */ color: rgb(104, 57, 179);
/* oklch */ color: oklch(47.1% 0.183 296.3);
Tailwind
colors: {
  custom: {
    50: '#9973cb',
    500: '#6839b3',
    950: '#000000',
  },
}
SCSS
$custom: #6839b3;
$custom-light: #9973cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6839b3",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 263.115,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.18284,
    "h": 296.3
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#6839B3
secondary
#ABC583
accent
#DB4DA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6839B3

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6839B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva