#6E125F#6E125F

#6E125F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.150 H 336.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#6E125F
RGBrgb(110, 18, 95)
HSLhsl(310, 72%, 25%)
HSVhsv(310, 84%, 43%)
CMYKcmyk(0%, 83.6%, 13.6%, 56.9%)
CIE-LABlab(25.49, 46.62, -22.31)
CIE-LCHlch(25.49, 51.68, 334.42°)
OKLaboklab(37.76% 0.1369 -0.0609)
OKLCHoklch(37.76% 0.15 336)
XYZxyz(8.7124, 4.5747, 11.2484)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E125F #126E21
analogous
#4F126E #6E125F #6E1231
triadic
#6E125F #5F6E12 #125F6E
tetradic
#6E125F #6E4F12 #126E21 #12316E
square
#6E125F #6E4F12 #126E21 #12316E
split-complementary
#6E125F #316E12 #126E4F
monochromatic
#1A0417 #390932 #6E125F #A31B8C #D723BA

Accessibility & contrast

On white

10.97
#6E125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6E125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E125F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E125F#FFFFFF#000000##FFFFFF
##6E125F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133461
Deuteranopia (green-blind)
#36415D
Tritanopia (blue-blind)
#741A38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6e125f;
/* rgb */ color: rgb(110, 18, 95);
/* oklch */ color: oklch(37.8% 0.150 336.0);
Tailwind
colors: {
  custom: {
    50: '#9b5d8c',
    500: '#6e125f',
    950: '#000000',
  },
}
SCSS
$custom: #6e125f;
$custom-light: #9b5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e125f",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 309.783,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3776,
    "c": 0.14985,
    "h": 336
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#6E125F
secondary
#37A549
accent
#EF5739
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #6E125F

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

Preview Lab → · Contrast checker → · Palette generator →

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