#2A0B2D#2A0B2D

#2A0B2D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.073 H 324.1°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#2A0B2D
RGBrgb(42, 11, 45)
HSLhsl(295, 61%, 11%)
HSVhsv(295, 76%, 18%)
CMYKcmyk(6.7%, 75.6%, 0%, 82.4%)
CIE-LABlab(8.32, 21.93, -15.51)
CIE-LCHlch(8.32, 26.86, 324.74°)
OKLaboklab(21.9% 0.0594 -0.043)
OKLCHoklch(21.9% 0.073 324.1)
XYZxyz(1.5481, 0.9211, 2.5784)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B2D #0E2D0B
analogous
#190B2D #2A0B2D #2D0B1F
triadic
#2A0B2D #2D2A0B #0B2D2A
tetradic
#2A0B2D #2D190B #0E2D0B #0B1F2D
square
#2A0B2D #2D190B #0E2D0B #0B1F2D
split-complementary
#2A0B2D #1F2D0B #0B2D19
monochromatic
#170619 #170619 #2A0B2D #58175E #86238F

Accessibility & contrast

On white

17.73
#2A0B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B2D
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B2D#FFFFFF#000000##FFFFFF
##2A0B2D1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#11192C
Tritanopia (blue-blind)
#2B101A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0b2d;
/* rgb */ color: rgb(42, 11, 45);
/* oklch */ color: oklch(21.9% 0.073 324.1);
Tailwind
colors: {
  custom: {
    50: '#654c66',
    500: '#2a0b2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b2d;
$custom-light: #654c66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b2d",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 45
  },
  "hsl": {
    "h": 294.706,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21898,
    "c": 0.07336,
    "h": 324.1
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#2A0B2D
secondary
#30692A
accent
#E44452
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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