#6B39C2#6B39C2

#6B39C2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.200 H 294.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6B39C2
RGBrgb(107, 57, 194)
HSLhsl(262, 55%, 49%)
HSVhsv(262, 71%, 76%)
CMYKcmyk(44.8%, 70.6%, 0%, 23.9%)
CIE-LABlab(37.75, 51.48, -63.70)
CIE-LCHlch(37.75, 81.91, 308.94°)
OKLaboklab(48.61% 0.0828 -0.1824)
OKLCHoklch(48.61% 0.2 294.4)
XYZxyz(17.2615, 9.9466, 52.0389)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39C2 #90C239
analogous
#394BC2 #6B39C2 #B039C2
triadic
#6B39C2 #C26B39 #39C26B
tetradic
#6B39C2 #C2394B #90C239 #39C2B0
square
#6B39C2 #C2394B #90C239 #39C2B0
split-complementary
#6B39C2 #C2B039 #4BC239
monochromatic
#371D63 #512B93 #6B39C2 #8E66D2 #B195E0

Accessibility & contrast

On white

7.02
#6B39C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6B39C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B39C2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39C2#FFFFFF#000000##FFFFFF
##6B39C21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#525C7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b39c2;
/* rgb */ color: rgb(107, 57, 194);
/* oklch */ color: oklch(48.6% 0.200 294.4);
Tailwind
colors: {
  custom: {
    50: '#9d73d5',
    500: '#6b39c2',
    950: '#000000',
  },
}
SCSS
$custom: #6b39c2;
$custom-light: #9d73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39c2",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 261.898,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48612,
    "c": 0.2003,
    "h": 294.4
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#6B39C2
secondary
#B4CB8B
accent
#DE4AA8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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