#6C145F#6C145F

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

Color values

HEX#6C145F
RGBrgb(108, 20, 95)
HSLhsl(309, 69%, 25%)
HSVhsv(309, 81%, 42%)
CMYKcmyk(0%, 81.5%, 12%, 57.6%)
CIE-LABlab(25.31, 45.55, -22.62)
CIE-LCHlch(25.31, 50.86, 333.59°)
OKLaboklab(37.56% 0.133 -0.0619)
OKLCHoklch(37.56% 0.147 335.1)
XYZxyz(8.5002, 4.5155, 11.2482)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C145F #146C21
analogous
#4D146C #6C145F #6C1433
triadic
#6C145F #5F6C14 #145F6C
tetradic
#6C145F #6C4D14 #146C21 #14336C
square
#6C145F #6C4D14 #146C21 #14336C
split-complementary
#6C145F #336C14 #146C4D
monochromatic
#1A0517 #380A32 #6C145F #A01E8C #D327BA

Accessibility & contrast

On white

11.04
#6C145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C145F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C145F#FFFFFF#000000##FFFFFF
##6C145F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c145f;
/* rgb */ color: rgb(108, 20, 95);
/* oklch */ color: oklch(37.6% 0.147 335.1);
Tailwind
colors: {
  custom: {
    50: '#995d8c',
    500: '#6c145f',
    950: '#000000',
  },
}
SCSS
$custom: #6c145f;
$custom-light: #995d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c145f",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 308.864,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3756,
    "c": 0.14672,
    "h": 335.1
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#6C145F
secondary
#39A349
accent
#EC563C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C145F

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

Preview Lab → · Contrast checker → · Palette generator →

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