#6C39B8#6C39B8

#6C39B8 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.189 H 297.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6C39B8
RGBrgb(108, 57, 184)
HSLhsl(264, 53%, 47%)
HSVhsv(264, 69%, 72%)
CMYKcmyk(41.3%, 69%, 0%, 27.8%)
CIE-LABlab(37.07, 49.03, -58.93)
CIE-LCHlch(37.07, 76.66, 309.76°)
OKLaboklab(47.91% 0.086 -0.1683)
OKLCHoklch(47.91% 0.189 297.1)
XYZxyz(16.2970, 9.5748, 46.3276)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39B8 #85B839
analogous
#3946B8 #6C39B8 #AB39B8
triadic
#6C39B8 #B86C39 #39B86C
tetradic
#6C39B8 #B83946 #85B839 #39B8AB
square
#6C39B8 #B83946 #85B839 #39B8AB
split-complementary
#6C39B8 #B8AB39 #46B839
monochromatic
#351C5B #512B89 #6C39B8 #8C60CE #AE8FDC

Accessibility & contrast

On white

7.20
#6C39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6C39B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C39B8
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39B8#FFFFFF#000000##FFFFFF
##6C39B81.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#595874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c39b8;
/* rgb */ color: rgb(108, 57, 184);
/* oklch */ color: oklch(47.9% 0.189 297.1);
Tailwind
colors: {
  custom: {
    50: '#9c73ce',
    500: '#6c39b8',
    950: '#000000',
  },
}
SCSS
$custom: #6c39b8;
$custom-light: #9c73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39b8",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 264.094,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.18901,
    "h": 297.1
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#6C39B8
secondary
#ADC786
accent
#DC4CA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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