#2A0B2A#2A0B2A

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

Color values

HEX#2A0B2A
RGBrgb(42, 11, 42)
HSLhsl(300, 58%, 10%)
HSVhsv(300, 74%, 16%)
CMYKcmyk(0%, 73.8%, 0%, 83.5%)
CIE-LABlab(8.12, 21.25, -13.58)
CIE-LCHlch(8.12, 25.22, 327.41°)
OKLaboklab(21.69% 0.0592 -0.0375)
OKLCHoklch(21.69% 0.07 327.7)
XYZxyz(1.4924, 0.8988, 2.2849)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B2A #0B2A0B
analogous
#1A0B2A #2A0B2A #2A0B1A
triadic
#2A0B2A #2A2A0B #0B2A2A
tetradic
#2A0B2A #2A1A0B #0B2A0B #0B1A2A
square
#2A0B2A #2A1A0B #0B2A0B #0B1A2A
split-complementary
#2A0B2A #1A2A0B #0B2A1A
monochromatic
#180618 #180618 #2A0B2A #5A185A #8B248B

Accessibility & contrast

On white

17.80
#2A0B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B2A
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B2A#FFFFFF#000000##FFFFFF
##2A0B2A1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08152B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#2C0F19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0b2a;
/* rgb */ color: rgb(42, 11, 42);
/* oklch */ color: oklch(21.7% 0.070 327.7);
Tailwind
colors: {
  custom: {
    50: '#654c63',
    500: '#2a0b2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b2a;
$custom-light: #654c63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b2a",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 42
  },
  "hsl": {
    "h": 300,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21691,
    "c": 0.07001,
    "h": 327.7
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#2A0B2A
secondary
#2B662B
accent
#E24646
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060105
muted
#7A7779

Preview Lab

Preview with #2A0B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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