#6A1564#6A1564

#6A1564 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.148 H 331.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#6A1564
RGBrgb(106, 21, 100)
HSLhsl(304, 67%, 25%)
HSVhsv(304, 80%, 42%)
CMYKcmyk(0%, 80.2%, 5.7%, 58.4%)
CIE-LABlab(25.32, 45.58, -25.90)
CIE-LCHlch(25.32, 52.42, 330.40°)
OKLaboklab(37.59% 0.1301 -0.0714)
OKLCHoklch(37.59% 0.148 331.3)
XYZxyz(8.5123, 4.5213, 12.4785)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1564 #156A1B
analogous
#45156A #6A1564 #6A153A
triadic
#6A1564 #646A15 #15646A
tetradic
#6A1564 #6A4515 #156A1B #153A6A
square
#6A1564 #6A4515 #156A1B #153A6A
split-complementary
#6A1564 #3A6A15 #156A45
monochromatic
#1A0518 #370B34 #6A1564 #9D1F94 #D029C4

Accessibility & contrast

On white

11.03
#6A1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6A1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1564
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1564#FFFFFF#000000##FFFFFF
##6A15641.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3566
Deuteranopia (green-blind)
#314062
Tritanopia (blue-blind)
#6F203C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a1564;
/* rgb */ color: rgb(106, 21, 100);
/* oklch */ color: oklch(37.6% 0.148 331.3);
Tailwind
colors: {
  custom: {
    50: '#985d90',
    500: '#6a1564',
    950: '#000000',
  },
}
SCSS
$custom: #6a1564;
$custom-light: #985d90;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1564",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 304.235,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37594,
    "c": 0.14844,
    "h": 331.3
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#6A1564
secondary
#3AA141
accent
#EA4A3E
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1564

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

Preview Lab → · Contrast checker → · Palette generator →

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