#6C125E#6C125E

#6C125E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.148 H 335.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#6C125E
RGBrgb(108, 18, 94)
HSLhsl(309, 71%, 25%)
HSVhsv(309, 83%, 42%)
CMYKcmyk(0%, 83.3%, 13%, 57.6%)
CIE-LABlab(25.04, 45.99, -22.38)
CIE-LCHlch(25.04, 51.15, 334.05°)
OKLaboklab(37.35% 0.1347 -0.0612)
OKLCHoklch(37.35% 0.148 335.6)
XYZxyz(8.4212, 4.4297, 10.9990)
Luminance0.0443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C125E #126C20
analogous
#4D126C #6C125E #6C1231
triadic
#6C125E #5E6C12 #125E6C
tetradic
#6C125E #6C4D12 #126C20 #12316C
square
#6C125E #6C4D12 #126C20 #12316C
split-complementary
#6C125E #316C12 #126C4D
monochromatic
#1A0417 #380930 #6C125E #A01B8C #D523B9

Accessibility & contrast

On white

11.14
#6C125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6C125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C125E
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C125E#FFFFFF#000000##FFFFFF
##6C125E1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123360
Deuteranopia (green-blind)
#34405C
Tritanopia (blue-blind)
#721A38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c125e;
/* rgb */ color: rgb(108, 18, 94);
/* oklch */ color: oklch(37.4% 0.148 335.6);
Tailwind
colors: {
  custom: {
    50: '#995c8c',
    500: '#6c125e',
    950: '#000000',
  },
}
SCSS
$custom: #6c125e;
$custom-light: #995c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c125e",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 309.333,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37353,
    "c": 0.14798,
    "h": 335.6
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#6C125E
secondary
#36A347
accent
#EE563A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C125E

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

Preview Lab → · Contrast checker → · Palette generator →

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