#6C149F#6C149F

#6C149F is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.2% C 0.201 H 307.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#6C149F
RGBrgb(108, 20, 159)
HSLhsl(278, 78%, 35%)
HSVhsv(278, 87%, 62%)
CMYKcmyk(32.1%, 87.4%, 0%, 37.6%)
CIE-LABlab(29.89, 57.75, -55.65)
CIE-LCHlch(29.89, 80.20, 316.06°)
OKLaboklab(42.23% 0.1232 -0.1584)
OKLCHoklch(42.23% 0.201 307.9)
XYZxyz(12.6912, 6.1919, 33.3207)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C149F #479F14
analogous
#27149F #6C149F #9F148C
triadic
#6C149F #9F6C14 #149F6C
tetradic
#6C149F #9F2714 #479F14 #148C9F
square
#6C149F #9F2714 #479F14 #148C9F
split-complementary
#6C149F #8C9F14 #149F27
monochromatic
#220632 #470D69 #6C149F #911BD5 #AC46E8

Accessibility & contrast

On white

9.38
#6C149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6C149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C149F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C149F#FFFFFF#000000##FFFFFF
##6C149F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#633D5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c149f;
/* rgb */ color: rgb(108, 20, 159);
/* oklch */ color: oklch(42.2% 0.201 307.9);
Tailwind
colors: {
  custom: {
    50: '#9c61bc',
    500: '#6c149f',
    950: '#000000',
  },
}
SCSS
$custom: #6c149f;
$custom-light: #9c61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c149f",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 277.986,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.20069,
    "h": 307.9
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#6C149F
secondary
#76C846
accent
#F4347A
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C149F

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

Preview Lab → · Contrast checker → · Palette generator →

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