#6A125F#6A125F

#6A125F is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.148 H 334.0°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#6A125F
RGBrgb(106, 18, 95)
HSLhsl(308, 71%, 24%)
HSVhsv(308, 83%, 42%)
CMYKcmyk(0%, 83%, 10.4%, 58.4%)
CIE-LABlab(24.71, 45.67, -23.58)
CIE-LCHlch(24.71, 51.40, 332.69°)
OKLaboklab(37.06% 0.1327 -0.0647)
OKLCHoklch(37.06% 0.148 334)
XYZxyz(8.2258, 4.3237, 11.2256)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A125F #126A1D
analogous
#49126A #6A125F #6A1233
triadic
#6A125F #5F6A12 #125F6A
tetradic
#6A125F #6A4912 #126A1D #12336A
square
#6A125F #6A4912 #126A1D #12336A
split-complementary
#6A125F #336A12 #126A49
monochromatic
#1A0417 #360930 #6A125F #9E1B8E #D324BD

Accessibility & contrast

On white

11.26
#6A125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A125F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A125F#FFFFFF#000000##FFFFFF
##6A125F1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3361
Deuteranopia (green-blind)
#323F5D
Tritanopia (blue-blind)
#6F1B38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a125f;
/* rgb */ color: rgb(106, 18, 95);
/* oklch */ color: oklch(37.1% 0.148 334.0);
Tailwind
colors: {
  custom: {
    50: '#985c8c',
    500: '#6a125f',
    950: '#000000',
  },
}
SCSS
$custom: #6a125f;
$custom-light: #985c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a125f",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 307.5,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37063,
    "c": 0.14761,
    "h": 334
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#6A125F
secondary
#36A244
accent
#EE513A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A125F

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

Preview Lab → · Contrast checker → · Palette generator →

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