#6C145E#6C145E

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

Color values

HEX#6C145E
RGBrgb(108, 20, 94)
HSLhsl(310, 69%, 25%)
HSVhsv(310, 81%, 42%)
CMYKcmyk(0%, 81.5%, 13%, 57.6%)
CIE-LABlab(25.25, 45.39, -22.05)
CIE-LCHlch(25.25, 50.46, 334.09°)
OKLaboklab(37.5% 0.133 -0.0602)
OKLCHoklch(37.5% 0.146 335.6)
XYZxyz(8.4550, 4.4974, 11.0103)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C145E #146C22
analogous
#4E146C #6C145E #6C1432
triadic
#6C145E #5E6C14 #145E6C
tetradic
#6C145E #6C4E14 #146C22 #14326C
square
#6C145E #6C4E14 #146C22 #14326C
split-complementary
#6C145E #326C14 #146C4E
monochromatic
#1A0516 #380A31 #6C145E #A01E8B #D327B8

Accessibility & contrast

On white

11.06
#6C145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6C145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C145E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C145E#FFFFFF#000000##FFFFFF
##6C145E1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#35405C
Tritanopia (blue-blind)
#721B38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c145e;
/* rgb */ color: rgb(108, 20, 94);
/* oklch */ color: oklch(37.5% 0.146 335.6);
Tailwind
colors: {
  custom: {
    50: '#995d8c',
    500: '#6c145e',
    950: '#000000',
  },
}
SCSS
$custom: #6c145e;
$custom-light: #995d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c145e",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 309.545,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37502,
    "c": 0.14597,
    "h": 335.6
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#6C145E
secondary
#39A34A
accent
#EC583C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C145E

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

Preview Lab → · Contrast checker → · Palette generator →

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