#6C39B4#6C39B4

#6C39B4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.184 H 298.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6C39B4
RGBrgb(108, 57, 180)
HSLhsl(265, 52%, 46%)
HSVhsv(265, 68%, 71%)
CMYKcmyk(40%, 68.3%, 0%, 29.4%)
CIE-LABlab(36.76, 47.99, -57.06)
CIE-LCHlch(36.76, 74.56, 310.06°)
OKLaboklab(47.59% 0.0866 -0.1628)
OKLCHoklch(47.59% 0.184 298)
XYZxyz(15.8836, 9.4094, 44.1505)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39B4 #81B439
analogous
#3944B4 #6C39B4 #AA39B4
triadic
#6C39B4 #B46C39 #39B46C
tetradic
#6C39B4 #B43944 #81B439 #39B4AA
square
#6C39B4 #B43944 #81B439 #39B4AA
split-complementary
#6C39B4 #B4AA39 #44B439
monochromatic
#341C57 #502A86 #6C39B4 #8C5ECC #AD8DDB

Accessibility & contrast

On white

7.29
#6C39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6C39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C39B4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39B4#FFFFFF#000000##FFFFFF
##6C39B41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#5B5672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6c39b4;
/* rgb */ color: rgb(108, 57, 180);
/* oklch */ color: oklch(47.6% 0.184 298.0);
Tailwind
colors: {
  custom: {
    50: '#9c73cb',
    500: '#6c39b4',
    950: '#000000',
  },
}
SCSS
$custom: #6c39b4;
$custom-light: #9c73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39b4",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 264.878,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.18444,
    "h": 298
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#6C39B4
secondary
#AAC583
accent
#DB4CA0
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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