#6D125F#6D125F

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

Color values

HEX#6D125F
RGBrgb(109, 18, 95)
HSLhsl(309, 72%, 25%)
HSVhsv(309, 83%, 43%)
CMYKcmyk(0%, 83.5%, 12.8%, 57.3%)
CIE-LABlab(25.29, 46.38, -22.63)
CIE-LCHlch(25.29, 51.61, 333.99°)
OKLaboklab(37.59% 0.1359 -0.0619)
OKLCHoklch(37.59% 0.149 335.5)
XYZxyz(8.5887, 4.5108, 11.2426)
Luminance0.0451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D125F #126D20
analogous
#4E126D #6D125F #6D1231
triadic
#6D125F #5F6D12 #125F6D
tetradic
#6D125F #6D4E12 #126D20 #12316D
square
#6D125F #6D4E12 #126D20 #12316D
split-complementary
#6D125F #316D12 #126D4E
monochromatic
#1A0417 #380931 #6D125F #A21B8D #D623BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D125F#FFFFFF#000000##FFFFFF
##6D125F1.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)
#123361
Deuteranopia (green-blind)
#35415D
Tritanopia (blue-blind)
#731A38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6d125f;
/* rgb */ color: rgb(109, 18, 95);
/* oklch */ color: oklch(37.6% 0.149 335.5);
Tailwind
colors: {
  custom: {
    50: '#9a5d8c',
    500: '#6d125f',
    950: '#000000',
  },
}
SCSS
$custom: #6d125f;
$custom-light: #9a5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d125f",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 309.231,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37585,
    "c": 0.14929,
    "h": 335.5
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#6D125F
secondary
#37A447
accent
#EE5539
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D125F

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

Preview Lab → · Contrast checker → · Palette generator →

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