#6C155F#6C155F

#6C155F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.6% C 0.146 H 335.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#6C155F
RGBrgb(108, 21, 95)
HSLhsl(309, 67%, 25%)
HSVhsv(309, 81%, 42%)
CMYKcmyk(0%, 80.6%, 12%, 57.6%)
CIE-LABlab(25.42, 45.23, -22.45)
CIE-LCHlch(25.42, 50.50, 333.60°)
OKLaboklab(37.64% 0.1321 -0.0614)
OKLCHoklch(37.64% 0.146 335.1)
XYZxyz(8.5182, 4.5515, 11.2542)
Luminance0.0455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C155F #156C22
analogous
#4E156C #6C155F #6C1533
triadic
#6C155F #5F6C15 #155F6C
tetradic
#6C155F #6C4E15 #156C22 #15336C
square
#6C155F #6C4E15 #156C22 #15336C
split-complementary
#6C155F #336C15 #156C4E
monochromatic
#1A0517 #390B32 #6C155F #9F1F8C #D229B9

Accessibility & contrast

On white

10.99
#6C155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C155F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C155F#FFFFFF#000000##FFFFFF
##6C155F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#35415D
Tritanopia (blue-blind)
#721D39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c155f;
/* rgb */ color: rgb(108, 21, 95);
/* oklch */ color: oklch(37.6% 0.146 335.1);
Tailwind
colors: {
  custom: {
    50: '#995e8c',
    500: '#6c155f',
    950: '#000000',
  },
}
SCSS
$custom: #6c155f;
$custom-light: #995e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c155f",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 308.966,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.14567,
    "h": 335.1
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#6C155F
secondary
#3AA34A
accent
#EA573D
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C155F

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

Preview Lab → · Contrast checker → · Palette generator →

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