#6C0DB2#6C0DB2

#6C0DB2 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.6% C 0.221 H 302.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6C0DB2
RGBrgb(108, 13, 178)
HSLhsl(275, 86%, 37%)
HSVhsv(275, 93%, 70%)
CMYKcmyk(39.3%, 92.7%, 0%, 30.2%)
CIE-LABlab(31.09, 63.34, -65.14)
CIE-LCHlch(31.09, 90.85, 314.20°)
OKLaboklab(43.58% 0.1195 -0.1862)
OKLCHoklch(43.58% 0.221 302.7)
XYZxyz(14.3622, 6.6903, 42.6456)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C0DB2 #53B20D
analogous
#190DB2 #6C0DB2 #B20DA6
triadic
#6C0DB2 #B26C0D #0DB26C
tetradic
#6C0DB2 #B2190D #53B20D #0DA6B2
square
#6C0DB2 #B2190D #53B20D #0DA6B2
split-complementary
#6C0DB2 #A6B20D #0DB219
monochromatic
#270540 #490979 #6C0DB2 #8F11EB #AA48F2

Accessibility & contrast

On white

8.98
#6C0DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6C0DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C0DB2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C0DB2#FFFFFF#000000##FFFFFF
##6C0DB21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#5D4468
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c0db2;
/* rgb */ color: rgb(108, 13, 178);
/* oklch */ color: oklch(43.6% 0.221 302.7);
Tailwind
colors: {
  custom: {
    50: '#9e60ca',
    500: '#6c0db2',
    950: '#000000',
  },
}
SCSS
$custom: #6c0db2;
$custom-light: #9e60ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c0db2",
  "rgb": {
    "r": 108,
    "g": 13,
    "b": 178
  },
  "hsl": {
    "h": 274.545,
    "s": 86.387,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.22125,
    "h": 302.7
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#6C0DB2
secondary
#83D249
accent
#FD2B84
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C0DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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