#6B39D9#6B39D9

#6B39D9 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.226 H 290.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6B39D9
RGBrgb(107, 57, 217)
HSLhsl(259, 68%, 54%)
HSVhsv(259, 74%, 85%)
CMYKcmyk(50.7%, 73.7%, 0%, 14.9%)
CIE-LABlab(39.68, 57.62, -73.86)
CIE-LCHlch(39.68, 93.68, 307.96°)
OKLaboklab(50.58% 0.0778 -0.2122)
OKLCHoklch(50.58% 0.226 290.1)
XYZxyz(20.0473, 11.0610, 66.7109)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39D9 #A7D939
analogous
#3957D9 #6B39D9 #BB39D9
triadic
#6B39D9 #D96B39 #39D96B
tetradic
#6B39D9 #D93957 #A7D939 #39D9BB
square
#6B39D9 #D93957 #A7D939 #39D9BB
split-complementary
#6B39D9 #D9BB39 #57D939
monochromatic
#39187F #4F22B3 #6B39D9 #916CE3 #B8A0ED

Accessibility & contrast

On white

6.54
#6B39D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6B39D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39D9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39D9#FFFFFF#000000##FFFFFF
##6B39D91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#446586
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6b39d9;
/* rgb */ color: rgb(107, 57, 217);
/* oklch */ color: oklch(50.6% 0.226 290.1);
Tailwind
colors: {
  custom: {
    50: '#a074e6',
    500: '#6b39d9',
    950: '#000000',
  },
}
SCSS
$custom: #6b39d9;
$custom-light: #a074e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39d9",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 258.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.22601,
    "h": 290.1
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#6B39D9
secondary
#C4D995
accent
#EB3DB4
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B39D9

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

Preview Lab → · Contrast checker → · Palette generator →

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