#6B39C1#6B39C1

#6B39C1 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.199 H 294.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6B39C1
RGBrgb(107, 57, 193)
HSLhsl(262, 54%, 49%)
HSVhsv(262, 70%, 76%)
CMYKcmyk(44.6%, 70.5%, 0%, 24.3%)
CIE-LABlab(37.67, 51.22, -63.25)
CIE-LCHlch(37.67, 81.39, 309.00°)
OKLaboklab(48.53% 0.083 -0.181)
OKLCHoklch(48.53% 0.199 294.6)
XYZxyz(17.1496, 9.9019, 51.4494)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39C1 #8FC139
analogous
#394BC1 #6B39C1 #AF39C1
triadic
#6B39C1 #C16B39 #39C16B
tetradic
#6B39C1 #C1394B #8FC139 #39C1AF
square
#6B39C1 #C1394B #8FC139 #39C1AF
split-complementary
#6B39C1 #C1AF39 #4BC139
monochromatic
#371D63 #512B92 #6B39C1 #8D66D2 #B095E0

Accessibility & contrast

On white

7.05
#6B39C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6B39C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B39C1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39C1#FFFFFF#000000##FFFFFF
##6B39C11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#535B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b39c1;
/* rgb */ color: rgb(107, 57, 193);
/* oklch */ color: oklch(48.5% 0.199 294.6);
Tailwind
colors: {
  custom: {
    50: '#9d73d5',
    500: '#6b39c1',
    950: '#000000',
  },
}
SCSS
$custom: #6b39c1;
$custom-light: #9d73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39c1",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 262.059,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.19917,
    "h": 294.6
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#6B39C1
secondary
#B3CB8B
accent
#DE4AA7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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