#6A125D#6A125D

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

Color values

HEX#6A125D
RGBrgb(106, 18, 93)
HSLhsl(309, 71%, 24%)
HSVhsv(309, 83%, 42%)
CMYKcmyk(0%, 83%, 12.3%, 58.4%)
CIE-LABlab(24.60, 45.35, -22.44)
CIE-LCHlch(24.60, 50.60, 333.67°)
OKLaboklab(36.95% 0.1326 -0.0614)
OKLCHoklch(36.95% 0.146 335.1)
XYZxyz(8.1361, 4.2878, 10.7529)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A125D #126A1F
analogous
#4B126A #6A125D #6A1231
triadic
#6A125D #5D6A12 #125D6A
tetradic
#6A125D #6A4B12 #126A1F #12316A
square
#6A125D #6A4B12 #126A1F #12316A
split-complementary
#6A125D #316A12 #126A4B
monochromatic
#1A0417 #36092F #6A125D #9E1B8B #D324B9

Accessibility & contrast

On white

11.31
#6A125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A125D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A125D#FFFFFF#000000##FFFFFF
##6A125D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12325F
Deuteranopia (green-blind)
#333F5B
Tritanopia (blue-blind)
#701A37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a125d;
/* rgb */ color: rgb(106, 18, 93);
/* oklch */ color: oklch(36.9% 0.146 335.1);
Tailwind
colors: {
  custom: {
    50: '#985c8b',
    500: '#6a125d',
    950: '#000000',
  },
}
SCSS
$custom: #6a125d;
$custom-light: #985c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a125d",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 308.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36945,
    "c": 0.1461,
    "h": 335.1
  },
  "luminance": 0.04287
}

Semantic roles & 50–950 ramp

primary
#6A125D
secondary
#36A246
accent
#EE553A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A125D

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

Preview Lab → · Contrast checker → · Palette generator →

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