#6C39B2#6C39B2

#6C39B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.182 H 298.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6C39B2
RGBrgb(108, 57, 178)
HSLhsl(265, 51%, 46%)
HSVhsv(265, 68%, 70%)
CMYKcmyk(39.3%, 68%, 0%, 30.2%)
CIE-LABlab(36.61, 47.47, -56.13)
CIE-LCHlch(36.61, 73.51, 310.22°)
OKLaboklab(47.44% 0.0869 -0.1601)
OKLCHoklch(47.44% 0.182 298.5)
XYZxyz(15.6813, 9.3285, 43.0853)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39B2 #7FB239
analogous
#3943B2 #6C39B2 #A839B2
triadic
#6C39B2 #B26C39 #39B26C
tetradic
#6C39B2 #B23943 #7FB239 #39B2A8
square
#6C39B2 #B23943 #7FB239 #39B2A8
split-complementary
#6C39B2 #B2A839 #43B239
monochromatic
#341B55 #502A84 #6C39B2 #8B5DCB #AD8BDA

Accessibility & contrast

On white

7.33
#6C39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6C39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C39B2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39B2#FFFFFF#000000##FFFFFF
##6C39B21.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#5B5671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c39b2;
/* rgb */ color: rgb(108, 57, 178);
/* oklch */ color: oklch(47.4% 0.182 298.5);
Tailwind
colors: {
  custom: {
    50: '#9c73ca',
    500: '#6c39b2',
    950: '#000000',
  },
}
SCSS
$custom: #6c39b2;
$custom-light: #9c73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39b2",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 265.289,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.18214,
    "h": 298.5
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#6C39B2
secondary
#A9C482
accent
#DB4D9F
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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