#6B39D1#6B39D1

#6B39D1 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.217 H 291.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6B39D1
RGBrgb(107, 57, 209)
HSLhsl(260, 62%, 52%)
HSVhsv(260, 73%, 82%)
CMYKcmyk(48.8%, 72.7%, 0%, 18%)
CIE-LABlab(38.99, 55.48, -70.39)
CIE-LCHlch(38.99, 89.62, 308.25°)
OKLaboklab(49.88% 0.0797 -0.202)
OKLCHoklch(49.88% 0.217 291.5)
XYZxyz(19.0319, 10.6548, 61.3630)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39D1 #9FD139
analogous
#3953D1 #6B39D1 #B739D1
triadic
#6B39D1 #D16B39 #39D16B
tetradic
#6B39D1 #D13953 #9FD139 #39D1B7
square
#6B39D1 #D13953 #9FD139 #39D1B7
split-complementary
#6B39D1 #D1B739 #53D139
monochromatic
#381B75 #5127A6 #6B39D1 #906BDD #B59CE8

Accessibility & contrast

On white

6.71
#6B39D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6B39D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39D1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39D1#FFFFFF#000000##FFFFFF
##6B39D11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#496182
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b39d1;
/* rgb */ color: rgb(107, 57, 209);
/* oklch */ color: oklch(49.9% 0.217 291.5);
Tailwind
colors: {
  custom: {
    50: '#9f74e0',
    500: '#6b39d1',
    950: '#000000',
  },
}
SCSS
$custom: #6b39d1;
$custom-light: #9f74e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39d1",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 259.737,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.21714,
    "h": 291.5
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#6B39D1
secondary
#BED492
accent
#E542B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6B39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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