#6E1564#6E1564

#6E1564 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.151 H 333.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#6E1564
RGBrgb(110, 21, 100)
HSLhsl(307, 68%, 26%)
HSVhsv(307, 81%, 43%)
CMYKcmyk(0%, 80.9%, 9.1%, 56.9%)
CIE-LABlab(26.08, 46.53, -24.66)
CIE-LCHlch(26.08, 52.66, 332.07°)
OKLaboklab(38.27% 0.1346 -0.0677)
OKLCHoklch(38.27% 0.151 333.3)
XYZxyz(8.9989, 4.7722, 12.5013)
Luminance0.0477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1564 #156E1F
analogous
#4B156E #6E1564 #6E1537
triadic
#6E1564 #646E15 #15646E
tetradic
#6E1564 #6E4B15 #156E1F #15376E
square
#6E1564 #6E4B15 #156E1F #15376E
split-complementary
#6E1564 #376E15 #156E4B
monochromatic
#1A0517 #3B0B35 #6E1564 #A11F93 #D529C1

Accessibility & contrast

On white

10.75
#6E1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6E1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1564
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1564#FFFFFF#000000##FFFFFF
##6E15641.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113666
Deuteranopia (green-blind)
#344262
Tritanopia (blue-blind)
#731F3C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6e1564;
/* rgb */ color: rgb(110, 21, 100);
/* oklch */ color: oklch(38.3% 0.151 333.3);
Tailwind
colors: {
  custom: {
    50: '#9b5e90',
    500: '#6e1564',
    950: '#000000',
  },
}
SCSS
$custom: #6e1564;
$custom-light: #9b5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1564",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 306.742,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38273,
    "c": 0.15063,
    "h": 333.3
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#6E1564
secondary
#3AA446
accent
#EB513D
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6E1564

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

Preview Lab → · Contrast checker → · Palette generator →

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