#6A1E90#6A1E90

#6A1E90 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.178 H 311.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6A1E90
RGBrgb(106, 30, 144)
HSLhsl(280, 66%, 34%)
HSVhsv(280, 79%, 56%)
CMYKcmyk(26.4%, 79.2%, 0%, 43.5%)
CIE-LABlab(29.43, 51.06, -47.23)
CIE-LCHlch(29.43, 69.55, 317.23°)
OKLaboklab(41.46% 0.1172 -0.1338)
OKLCHoklch(41.46% 0.178 311.2)
XYZxyz(11.4412, 6.0066, 26.9368)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1E90 #44901E
analogous
#311E90 #6A1E90 #901E7D
triadic
#6A1E90 #906A1E #1E906A
tetradic
#6A1E90 #90311E #44901E #1E7D90
square
#6A1E90 #90311E #44901E #1E7D90
split-complementary
#6A1E90 #7D901E #1E9031
monochromatic
#1F092B #45135D #6A1E90 #8F29C3 #AC4EDA

Accessibility & contrast

On white

9.54
#6A1E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6A1E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1E90
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1E90#FFFFFF#000000##FFFFFF
##6A1E901.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#02478E
Tritanopia (blue-blind)
#653A57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1e90;
/* rgb */ color: rgb(106, 30, 144);
/* oklch */ color: oklch(41.5% 0.178 311.2);
Tailwind
colors: {
  custom: {
    50: '#9963b1',
    500: '#6a1e90',
    950: '#000000',
  },
}
SCSS
$custom: #6a1e90;
$custom-light: #9963b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1e90",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 280,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.17785,
    "h": 311.2
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#6A1E90
secondary
#72BD4D
accent
#E83F78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1E90

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

Preview Lab → · Contrast checker → · Palette generator →

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