#6A125C#6A125C

#6A125C is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.145 H 335.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#6A125C
RGBrgb(106, 18, 92)
HSLhsl(310, 71%, 24%)
HSVhsv(310, 83%, 42%)
CMYKcmyk(0%, 83%, 13.2%, 58.4%)
CIE-LABlab(24.55, 45.20, -21.87)
CIE-LCHlch(24.55, 50.21, 334.18°)
OKLaboklab(36.89% 0.1325 -0.0598)
OKLCHoklch(36.89% 0.145 335.7)
XYZxyz(8.0921, 4.2702, 10.5212)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A125C #126A20
analogous
#4C126A #6A125C #6A1230
triadic
#6A125C #5C6A12 #125C6A
tetradic
#6A125C #6A4C12 #126A20 #12306A
square
#6A125C #6A4C12 #126A20 #12306A
split-complementary
#6A125C #306A12 #126A4C
monochromatic
#1A0417 #36092F #6A125C #9E1B89 #D324B7

Accessibility & contrast

On white

11.33
#6A125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#6A125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A125C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A125C#FFFFFF#000000##FFFFFF
##6A125C1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13325E
Deuteranopia (green-blind)
#343F5A
Tritanopia (blue-blind)
#701A36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a125c;
/* rgb */ color: rgb(106, 18, 92);
/* oklch */ color: oklch(36.9% 0.145 335.7);
Tailwind
colors: {
  custom: {
    50: '#985c8a',
    500: '#6a125c',
    950: '#000000',
  },
}
SCSS
$custom: #6a125c;
$custom-light: #985c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a125c",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 309.545,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36887,
    "c": 0.14535,
    "h": 335.7
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#6A125C
secondary
#36A247
accent
#EE573A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A125C

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

Preview Lab → · Contrast checker → · Palette generator →

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