#2A0B33#2A0B33

#2A0B33 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.080 H 317.8°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2A0B33
RGBrgb(42, 11, 51)
HSLhsl(287, 65%, 12%)
HSVhsv(287, 78%, 20%)
CMYKcmyk(17.6%, 78.4%, 0%, 80%)
CIE-LABlab(8.74, 23.38, -19.25)
CIE-LCHlch(8.74, 30.29, 320.53°)
OKLaboklab(22.35% 0.0595 -0.0539)
OKLCHoklch(22.35% 0.08 317.8)
XYZxyz(1.6720, 0.9707, 3.2306)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B33 #14330B
analogous
#160B33 #2A0B33 #330B28
triadic
#2A0B33 #332A0B #0B332A
tetradic
#2A0B33 #33160B #14330B #0B2833
square
#2A0B33 #33160B #14330B #0B2833
split-complementary
#2A0B33 #28330B #0B3316
monochromatic
#150519 #150519 #2A0B33 #531665 #7D2198

Accessibility & contrast

On white

17.58
#2A0B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0B33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0B33
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B33#FFFFFF#000000##FFFFFF
##2A0B331.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#0C1A32
Tritanopia (blue-blind)
#2A121D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0b33;
/* rgb */ color: rgb(42, 11, 51);
/* oklch */ color: oklch(22.3% 0.080 317.8);
Tailwind
colors: {
  custom: {
    50: '#654c6b',
    500: '#2a0b33',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b33;
$custom-light: #654c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b33",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 286.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22346,
    "c": 0.08029,
    "h": 317.8
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#2A0B33
secondary
#3A702A
accent
#E84066
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0B33

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

Preview Lab → · Contrast checker → · Palette generator →

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