#6B39CD#6B39CD

#6B39CD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.5% C 0.213 H 292.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6B39CD
RGBrgb(107, 57, 205)
HSLhsl(260, 60%, 51%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(47.8%, 72.2%, 0%, 19.6%)
CIE-LABlab(38.65, 54.41, -68.63)
CIE-LCHlch(38.65, 87.58, 308.41°)
OKLaboklab(49.54% 0.0806 -0.1968)
OKLCHoklch(49.54% 0.213 292.3)
XYZxyz(18.5429, 10.4592, 58.7876)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39CD #9BCD39
analogous
#3951CD #6B39CD #B539CD
triadic
#6B39CD #CD6B39 #39CD6B
tetradic
#6B39CD #CD3951 #9BCD39 #39CDB5
square
#6B39CD #CD3951 #9BCD39 #39CDB5
split-complementary
#6B39CD #CDB539 #51CD39
monochromatic
#381C6F #5128A0 #6B39CD #906AD9 #B49BE6

Accessibility & contrast

On white

6.79
#6B39CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6B39CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39CD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39CD#FFFFFF#000000##FFFFFF
##6B39CD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#4C6080
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b39cd;
/* rgb */ color: rgb(107, 57, 205);
/* oklch */ color: oklch(49.5% 0.213 292.3);
Tailwind
colors: {
  custom: {
    50: '#9e74dd',
    500: '#6b39cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b39cd;
$custom-light: #9e74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39cd",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 260.27,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49537,
    "c": 0.21268,
    "h": 292.3
  },
  "luminance": 0.1046
}

Semantic roles & 50–950 ramp

primary
#6B39CD
secondary
#BBD290
accent
#E345AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B39CD

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

Preview Lab → · Contrast checker → · Palette generator →

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