#6C125F#6C125F

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

Color values

HEX#6C125F
RGBrgb(108, 18, 95)
HSLhsl(309, 71%, 25%)
HSVhsv(309, 83%, 42%)
CMYKcmyk(0%, 83.3%, 12%, 57.6%)
CIE-LABlab(25.10, 46.15, -22.95)
CIE-LCHlch(25.10, 51.54, 333.56°)
OKLaboklab(37.41% 0.1348 -0.0628)
OKLCHoklch(37.41% 0.149 335)
XYZxyz(8.4663, 4.4478, 11.2369)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C125F #126C1F
analogous
#4C126C #6C125F #6C1232
triadic
#6C125F #5F6C12 #125F6C
tetradic
#6C125F #6C4C12 #126C1F #12326C
square
#6C125F #6C4C12 #126C1F #12326C
split-complementary
#6C125F #326C12 #126C4C
monochromatic
#1A0417 #380931 #6C125F #A01B8D #D523BB

Accessibility & contrast

On white

11.11
#6C125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C125F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C125F#FFFFFF#000000##FFFFFF
##6C125F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c125f;
/* rgb */ color: rgb(108, 18, 95);
/* oklch */ color: oklch(37.4% 0.149 335.0);
Tailwind
colors: {
  custom: {
    50: '#995c8c',
    500: '#6c125f',
    950: '#000000',
  },
}
SCSS
$custom: #6c125f;
$custom-light: #995c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c125f",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 308.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37411,
    "c": 0.14871,
    "h": 335
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#6C125F
secondary
#36A346
accent
#EE543A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C125F

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

Preview Lab → · Contrast checker → · Palette generator →

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