#6B39D0#6B39D0

#6B39D0 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.216 H 291.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6B39D0
RGBrgb(107, 57, 208)
HSLhsl(260, 62%, 52%)
HSVhsv(260, 73%, 82%)
CMYKcmyk(48.6%, 72.6%, 0%, 18.4%)
CIE-LABlab(38.91, 55.21, -69.95)
CIE-LCHlch(38.91, 89.11, 308.29°)
OKLaboklab(49.79% 0.0799 -0.2007)
OKLCHoklch(49.79% 0.216 291.7)
XYZxyz(18.9085, 10.6054, 60.7130)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39D0 #9ED039
analogous
#3952D0 #6B39D0 #B739D0
triadic
#6B39D0 #D06B39 #39D06B
tetradic
#6B39D0 #D03952 #9ED039 #39D0B7
square
#6B39D0 #D03952 #9ED039 #39D0B7
split-complementary
#6B39D0 #D0B739 #52D039
monochromatic
#381B73 #5127A5 #6B39D0 #906ADC #B59CE7

Accessibility & contrast

On white

6.73
#6B39D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6B39D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39D0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39D0#FFFFFF#000000##FFFFFF
##6B39D01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#4A6181
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b39d0;
/* rgb */ color: rgb(107, 57, 208);
/* oklch */ color: oklch(49.8% 0.216 291.7);
Tailwind
colors: {
  custom: {
    50: '#9e74e0',
    500: '#6b39d0',
    950: '#000000',
  },
}
SCSS
$custom: #6b39d0;
$custom-light: #9e74e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39d0",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 208
  },
  "hsl": {
    "h": 259.868,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.21603,
    "h": 291.7
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#6B39D0
secondary
#BED391
accent
#E543AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6B39D0

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

Preview Lab → · Contrast checker → · Palette generator →

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