#2A0B29#2A0B29

#2A0B29 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.6% C 0.069 H 328.9°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#2A0B29
RGBrgb(42, 11, 41)
HSLhsl(302, 58%, 10%)
HSVhsv(302, 74%, 16%)
CMYKcmyk(0%, 73.8%, 2.4%, 83.5%)
CIE-LABlab(8.06, 21.02, -12.93)
CIE-LCHlch(8.06, 24.68, 328.40°)
OKLaboklab(21.62% 0.059 -0.0356)
OKLCHoklch(21.62% 0.069 328.9)
XYZxyz(1.4747, 0.8918, 2.1918)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B29 #0B2A0C
analogous
#1B0B2A #2A0B29 #2A0B19
triadic
#2A0B29 #292A0B #0B292A
tetradic
#2A0B29 #2A1B0B #0B2A0C #0B192A
square
#2A0B29 #2A1B0B #0B2A0C #0B192A
split-complementary
#2A0B29 #192A0B #0B2A1B
monochromatic
#180618 #180618 #2A0B29 #5A1858 #8B2488

Accessibility & contrast

On white

17.82
#2A0B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2A0B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0B29
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B29#FFFFFF#000000##FFFFFF
##2A0B291.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08152A
Deuteranopia (green-blind)
#131928
Tritanopia (blue-blind)
#2C0E18
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0b29;
/* rgb */ color: rgb(42, 11, 41);
/* oklch */ color: oklch(21.6% 0.069 328.9);
Tailwind
colors: {
  custom: {
    50: '#654c62',
    500: '#2a0b29',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b29;
$custom-light: #654c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b29",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 41
  },
  "hsl": {
    "h": 301.935,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21624,
    "c": 0.06892,
    "h": 328.9
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#2A0B29
secondary
#2B662D
accent
#E24B46
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0B29

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

Preview Lab → · Contrast checker → · Palette generator →

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