#6C155E#6C155E

#6C155E is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.145 H 335.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#6C155E
RGBrgb(108, 21, 94)
HSLhsl(310, 67%, 25%)
HSVhsv(310, 81%, 42%)
CMYKcmyk(0%, 80.6%, 13%, 57.6%)
CIE-LABlab(25.36, 45.08, -21.88)
CIE-LCHlch(25.36, 50.11, 334.11°)
OKLaboklab(37.58% 0.132 -0.0598)
OKLCHoklch(37.58% 0.145 335.6)
XYZxyz(8.4730, 4.5334, 11.0163)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C155E #156C23
analogous
#4E156C #6C155E #6C1532
triadic
#6C155E #5E6C15 #155E6C
tetradic
#6C155E #6C4E15 #156C23 #15326C
square
#6C155E #6C4E15 #156C23 #15326C
split-complementary
#6C155E #326C15 #156C4E
monochromatic
#1A0516 #390B31 #6C155E #9F1F8B #D229B7

Accessibility & contrast

On white

11.01
#6C155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6C155E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C155E
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C155E#FFFFFF#000000##FFFFFF
##6C155E1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163460
Deuteranopia (green-blind)
#35415C
Tritanopia (blue-blind)
#721C38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c155e;
/* rgb */ color: rgb(108, 21, 94);
/* oklch */ color: oklch(37.6% 0.145 335.6);
Tailwind
colors: {
  custom: {
    50: '#995d8c',
    500: '#6c155e',
    950: '#000000',
  },
}
SCSS
$custom: #6c155e;
$custom-light: #995d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c155e",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 309.655,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37581,
    "c": 0.14492,
    "h": 335.6
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#6C155E
secondary
#3AA34B
accent
#EA593D
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C155E

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

Preview Lab → · Contrast checker → · Palette generator →

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