#6D125E#6D125E

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

Color values

HEX#6D125E
RGBrgb(109, 18, 94)
HSLhsl(310, 72%, 25%)
HSVhsv(310, 83%, 43%)
CMYKcmyk(0%, 83.5%, 13.8%, 57.3%)
CIE-LABlab(25.24, 46.23, -22.06)
CIE-LCHlch(25.24, 51.22, 334.49°)
OKLaboklab(37.53% 0.1358 -0.0602)
OKLCHoklch(37.53% 0.149 336.1)
XYZxyz(8.5435, 4.4928, 11.0047)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D125E #126D21
analogous
#4F126D #6D125E #6D1231
triadic
#6D125E #5E6D12 #125E6D
tetradic
#6D125E #6D4F12 #126D21 #12316D
square
#6D125E #6D4F12 #126D21 #12316D
split-complementary
#6D125E #316D12 #126D4F
monochromatic
#1A0417 #380931 #6D125E #A21B8B #D623B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D125E#FFFFFF#000000##FFFFFF
##6D125E1.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)
#133360
Deuteranopia (green-blind)
#35415C
Tritanopia (blue-blind)
#731A38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6d125e;
/* rgb */ color: rgb(109, 18, 94);
/* oklch */ color: oklch(37.5% 0.149 336.1);
Tailwind
colors: {
  custom: {
    50: '#9a5d8c',
    500: '#6d125e',
    950: '#000000',
  },
}
SCSS
$custom: #6d125e;
$custom-light: #9a5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d125e",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 309.89,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37528,
    "c": 0.14855,
    "h": 336.1
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#6D125E
secondary
#37A449
accent
#EE5739
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D125E

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

Preview Lab → · Contrast checker → · Palette generator →

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