#6C135F#6C135F

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

Color values

HEX#6C135F
RGBrgb(108, 19, 95)
HSLhsl(309, 70%, 25%)
HSVhsv(309, 82%, 42%)
CMYKcmyk(0%, 82.4%, 12%, 57.6%)
CIE-LABlab(25.20, 45.85, -22.79)
CIE-LCHlch(25.20, 51.20, 333.57°)
OKLaboklab(37.48% 0.1339 -0.0624)
OKLCHoklch(37.48% 0.148 335)
XYZxyz(8.4829, 4.4809, 11.2424)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C135F #136C20
analogous
#4D136C #6C135F #6C1333
triadic
#6C135F #5F6C13 #135F6C
tetradic
#6C135F #6C4D13 #136C20 #13336C
square
#6C135F #6C4D13 #136C20 #13336C
split-complementary
#6C135F #336C13 #136C4D
monochromatic
#1A0517 #380A31 #6C135F #A01C8D #D425BB

Accessibility & contrast

On white

11.08
#6C135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C135F
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C135F#FFFFFF#000000##FFFFFF
##6C135F1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123361
Deuteranopia (green-blind)
#34405D
Tritanopia (blue-blind)
#721B38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c135f;
/* rgb */ color: rgb(108, 19, 95);
/* oklch */ color: oklch(37.5% 0.148 335.0);
Tailwind
colors: {
  custom: {
    50: '#995d8c',
    500: '#6c135f',
    950: '#000000',
  },
}
SCSS
$custom: #6c135f;
$custom-light: #995d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c135f",
  "rgb": {
    "r": 108,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 308.764,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37484,
    "c": 0.14775,
    "h": 335
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#6C135F
secondary
#38A347
accent
#ED553B
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C135F

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

Preview Lab → · Contrast checker → · Palette generator →

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