#6B39DC#6B39DC

#6B39DC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.229 H 289.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#6B39DC
RGBrgb(107, 57, 220)
HSLhsl(258, 70%, 54%)
HSVhsv(258, 74%, 86%)
CMYKcmyk(51.4%, 74.1%, 0%, 13.7%)
CIE-LABlab(39.95, 58.42, -75.15)
CIE-LCHlch(39.95, 95.19, 307.86°)
OKLaboklab(50.84% 0.0771 -0.216)
OKLCHoklch(50.84% 0.229 289.6)
XYZxyz(20.4411, 11.2184, 68.7846)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39DC #AADC39
analogous
#3959DC #6B39DC #BD39DC
triadic
#6B39DC #DC6B39 #39DC6B
tetradic
#6B39DC #DC3959 #AADC39 #39DCBD
square
#6B39DC #DC3959 #AADC39 #39DCBD
split-complementary
#6B39DC #DCBD39 #59DC39
monochromatic
#381783 #4F20B7 #6B39DC #926DE5 #B9A1EE

Accessibility & contrast

On white

6.47
#6B39DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6B39DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39DC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39DC#FFFFFF#000000##FFFFFF
##6B39DC1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#416688
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b39dc;
/* rgb */ color: rgb(107, 57, 220);
/* oklch */ color: oklch(50.8% 0.229 289.6);
Tailwind
colors: {
  custom: {
    50: '#a075e8',
    500: '#6b39dc',
    950: '#000000',
  },
}
SCSS
$custom: #6b39dc;
$custom-light: #a075e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39dc",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 220
  },
  "hsl": {
    "h": 258.405,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.2293,
    "h": 289.6
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#6B39DC
secondary
#C6DB96
accent
#ED3BB6
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B39DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6B39DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva