#6A1D90#6A1D90

#6A1D90 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.179 H 311.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6A1D90
RGBrgb(106, 29, 144)
HSLhsl(280, 66%, 34%)
HSVhsv(280, 80%, 56%)
CMYKcmyk(26.4%, 79.9%, 0%, 43.5%)
CIE-LABlab(29.30, 51.43, -47.43)
CIE-LCHlch(29.30, 69.96, 317.31°)
OKLaboklab(41.38% 0.118 -0.1344)
OKLCHoklch(41.38% 0.179 311.3)
XYZxyz(11.4163, 5.9568, 26.9285)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D90 #43901D
analogous
#311D90 #6A1D90 #901D7D
triadic
#6A1D90 #906A1D #1D906A
tetradic
#6A1D90 #90311D #43901D #1D7D90
square
#6A1D90 #90311D #43901D #1D7D90
split-complementary
#6A1D90 #7D901D #1D9031
monochromatic
#1F082A #45135D #6A1D90 #8F27C3 #AC4CDB

Accessibility & contrast

On white

9.58
#6A1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D90
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D90#FFFFFF#000000##FFFFFF
##6A1D901.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#653956
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1d90;
/* rgb */ color: rgb(106, 29, 144);
/* oklch */ color: oklch(41.4% 0.179 311.3);
Tailwind
colors: {
  custom: {
    50: '#9963b1',
    500: '#6a1d90',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d90;
$custom-light: #9963b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d90",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 280.174,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41375,
    "c": 0.17888,
    "h": 311.3
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#6A1D90
secondary
#71BD4B
accent
#E93E77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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