#2A0B2E#2A0B2E

#2A0B2E is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.074 H 323.0°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#2A0B2E
RGBrgb(42, 11, 46)
HSLhsl(293, 61%, 11%)
HSVhsv(293, 76%, 18%)
CMYKcmyk(8.7%, 76.1%, 0%, 82%)
CIE-LABlab(8.38, 22.17, -16.14)
CIE-LCHlch(8.38, 27.42, 323.94°)
OKLaboklab(21.97% 0.0595 -0.0449)
OKLCHoklch(21.97% 0.075 323)
XYZxyz(1.5676, 0.9289, 2.6810)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B2E #0F2E0B
analogous
#180B2E #2A0B2E #2E0B20
triadic
#2A0B2E #2E2A0B #0B2E2A
tetradic
#2A0B2E #2E180B #0F2E0B #0B202E
square
#2A0B2E #2E180B #0F2E0B #0B202E
split-complementary
#2A0B2E #202E0B #0B2E18
monochromatic
#170619 #170619 #2A0B2E #57175F #842391

Accessibility & contrast

On white

17.71
#2A0B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B2E
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B2E#FFFFFF#000000##FFFFFF
##2A0B2E1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162F
Deuteranopia (green-blind)
#101A2D
Tritanopia (blue-blind)
#2B101B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0b2e;
/* rgb */ color: rgb(42, 11, 46);
/* oklch */ color: oklch(22.0% 0.074 323.0);
Tailwind
colors: {
  custom: {
    50: '#654c67',
    500: '#2a0b2e',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b2e;
$custom-light: #654c67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b2e",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 293.143,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2197,
    "c": 0.0745,
    "h": 323
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#2A0B2E
secondary
#326A2A
accent
#E54356
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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