#2A0633#2A0633

#2A0633 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.089 H 318.7°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#2A0633
RGBrgb(42, 6, 51)
HSLhsl(288, 79%, 11%)
HSVhsv(288, 88%, 20%)
CMYKcmyk(17.6%, 88.2%, 0%, 80%)
CIE-LABlab(7.78, 26.09, -20.80)
CIE-LCHlch(7.78, 33.37, 321.45°)
OKLaboklab(21.66% 0.0666 -0.0584)
OKLCHoklch(21.66% 0.089 318.7)
XYZxyz(1.6174, 0.8616, 3.2124)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0633 #0F3306
analogous
#130633 #2A0633 #330625
triadic
#2A0633 #332A06 #06332A
tetradic
#2A0633 #331306 #0F3306 #062533
square
#2A0633 #331306 #0F3306 #062533
split-complementary
#2A0633 #253306 #063313
monochromatic
#17031B #17031B #2A0633 #570C6A #8413A1

Accessibility & contrast

On white

17.91
#2A0633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0633
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0633#FFFFFF#000000##FFFFFF
##2A06331.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#081832
Tritanopia (blue-blind)
#2A0F1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0633;
/* rgb */ color: rgb(42, 6, 51);
/* oklch */ color: oklch(21.7% 0.089 318.7);
Tailwind
colors: {
  custom: {
    50: '#664a6b',
    500: '#2a0633',
    950: '#000000',
  },
}
SCSS
$custom: #2a0633;
$custom-light: #664a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0633",
  "rgb": {
    "r": 42,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 288,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21658,
    "c": 0.08859,
    "h": 318.7
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#2A0633
secondary
#327421
accent
#F53259
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0633

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

Preview Lab → · Contrast checker → · Palette generator →

#2A0633 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva