#6A126A#6A126A

#6A126A is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.7% C 0.156 H 328.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#6A126A
RGBrgb(106, 18, 106)
HSLhsl(300, 71%, 24%)
HSVhsv(300, 83%, 42%)
CMYKcmyk(0%, 83%, 0%, 58.4%)
CIE-LABlab(25.38, 47.52, -29.72)
CIE-LCHlch(25.38, 56.05, 327.98°)
OKLaboklab(37.75% 0.1327 -0.0825)
OKLCHoklch(37.75% 0.156 328.1)
XYZxyz(8.7616, 4.5381, 14.0473)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A126A #126A12
analogous
#3E126A #6A126A #6A123E
triadic
#6A126A #6A6A12 #126A6A
tetradic
#6A126A #6A3E12 #126A12 #123E6A
square
#6A126A #6A3E12 #126A12 #123E6A
split-complementary
#6A126A #3E6A12 #126A3E
monochromatic
#1A041A #360936 #6A126A #9E1B9E #D324D3

Accessibility & contrast

On white

11.01
#6A126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A126A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A126A#FFFFFF#000000##FFFFFF
##6A126A1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#2C4068
Tritanopia (blue-blind)
#6E223E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a126a;
/* rgb */ color: rgb(106, 18, 106);
/* oklch */ color: oklch(37.7% 0.156 328.1);
Tailwind
colors: {
  custom: {
    50: '#985d95',
    500: '#6a126a',
    950: '#000000',
  },
}
SCSS
$custom: #6a126a;
$custom-light: #985d95;
$custom-dark: #000000;
JSON
{
  "hex": "#6a126a",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 300,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37748,
    "c": 0.15622,
    "h": 328.1
  },
  "luminance": 0.04537
}

Semantic roles & 50–950 ramp

primary
#6A126A
secondary
#36A236
accent
#EE3A3A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A126A

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

Preview Lab → · Contrast checker → · Palette generator →

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