#6A125E#6A125E

#6A125E is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.147 H 334.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#6A125E
RGBrgb(106, 18, 94)
HSLhsl(308, 71%, 24%)
HSVhsv(308, 83%, 42%)
CMYKcmyk(0%, 83%, 11.3%, 58.4%)
CIE-LABlab(24.66, 45.51, -23.01)
CIE-LCHlch(24.66, 51.00, 333.18°)
OKLaboklab(37% 0.1326 -0.063)
OKLCHoklch(37% 0.147 334.6)
XYZxyz(8.1806, 4.3057, 10.9877)
Luminance0.0430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A125E #126A1E
analogous
#4A126A #6A125E #6A1232
triadic
#6A125E #5E6A12 #125E6A
tetradic
#6A125E #6A4A12 #126A1E #12326A
square
#6A125E #6A4A12 #126A1E #12326A
split-complementary
#6A125E #326A12 #126A4A
monochromatic
#1A0417 #360930 #6A125E #9E1B8C #D324BB

Accessibility & contrast

On white

11.28
#6A125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6A125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A125E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A125E#FFFFFF#000000##FFFFFF
##6A125E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103260
Deuteranopia (green-blind)
#333F5C
Tritanopia (blue-blind)
#6F1B38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a125e;
/* rgb */ color: rgb(106, 18, 94);
/* oklch */ color: oklch(37.0% 0.147 334.6);
Tailwind
colors: {
  custom: {
    50: '#985c8c',
    500: '#6a125e',
    950: '#000000',
  },
}
SCSS
$custom: #6a125e;
$custom-light: #985c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a125e",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 308.182,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37004,
    "c": 0.14685,
    "h": 334.6
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#6A125E
secondary
#36A245
accent
#EE533A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A125E

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

Preview Lab → · Contrast checker → · Palette generator →

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