#2A0B28#2A0B28

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

Color values

HEX#2A0B28
RGBrgb(42, 11, 40)
HSLhsl(304, 58%, 10%)
HSVhsv(304, 74%, 16%)
CMYKcmyk(0%, 73.8%, 4.8%, 83.5%)
CIE-LABlab(7.99, 20.80, -12.28)
CIE-LCHlch(7.99, 24.15, 329.45°)
OKLaboklab(21.56% 0.0589 -0.0337)
OKLCHoklch(21.56% 0.068 330.2)
XYZxyz(1.4575, 0.8849, 2.1011)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B28 #0B2A0D
analogous
#1C0B2A #2A0B28 #2A0B18
triadic
#2A0B28 #282A0B #0B282A
tetradic
#2A0B28 #2A1C0B #0B2A0D #0B182A
square
#2A0B28 #2A1C0B #0B2A0D #0B182A
split-complementary
#2A0B28 #182A0B #0B2A1C
monochromatic
#180617 #180617 #2A0B28 #5A1856 #8B2484

Accessibility & contrast

On white

17.84
#2A0B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B28
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B28#FFFFFF#000000##FFFFFF
##2A0B281.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#131927
Tritanopia (blue-blind)
#2C0E18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0b28;
/* rgb */ color: rgb(42, 11, 40);
/* oklch */ color: oklch(21.6% 0.068 330.2);
Tailwind
colors: {
  custom: {
    50: '#654c62',
    500: '#2a0b28',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b28;
$custom-light: #654c62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b28",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 40
  },
  "hsl": {
    "h": 303.871,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21558,
    "c": 0.06785,
    "h": 330.2
  },
  "luminance": 0.00885
}

Semantic roles & 50–950 ramp

primary
#2A0B28
secondary
#2B662F
accent
#E25046
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0B28

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

Preview Lab → · Contrast checker → · Palette generator →

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