#6A1563#6A1563

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

Color values

HEX#6A1563
RGBrgb(106, 21, 99)
HSLhsl(305, 67%, 25%)
HSVhsv(305, 80%, 42%)
CMYKcmyk(0%, 80.2%, 6.6%, 58.4%)
CIE-LABlab(25.27, 45.41, -25.34)
CIE-LCHlch(25.27, 52.00, 330.84°)
OKLaboklab(37.53% 0.1301 -0.0698)
OKLCHoklch(37.53% 0.148 331.8)
XYZxyz(8.4642, 4.5021, 12.2252)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1563 #156A1C
analogous
#46156A #6A1563 #6A1539
triadic
#6A1563 #636A15 #15636A
tetradic
#6A1563 #6A4615 #156A1C #15396A
square
#6A1563 #6A4615 #156A1C #15396A
split-complementary
#6A1563 #396A15 #156A46
monochromatic
#1A0518 #370B33 #6A1563 #9D1F93 #D029C2

Accessibility & contrast

On white

11.05
#6A1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1563
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1563#FFFFFF#000000##FFFFFF
##6A15631.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3465
Deuteranopia (green-blind)
#314061
Tritanopia (blue-blind)
#6F203B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a1563;
/* rgb */ color: rgb(106, 21, 99);
/* oklch */ color: oklch(37.5% 0.148 331.8);
Tailwind
colors: {
  custom: {
    50: '#985d90',
    500: '#6a1563',
    950: '#000000',
  },
}
SCSS
$custom: #6a1563;
$custom-light: #985d90;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1563",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 304.941,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37533,
    "c": 0.14765,
    "h": 331.8
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#6A1563
secondary
#3AA143
accent
#EA4C3E
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1563

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

Preview Lab → · Contrast checker → · Palette generator →

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