#2A0B2F#2A0B2F

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

Color values

HEX#2A0B2F
RGBrgb(42, 11, 47)
HSLhsl(292, 62%, 11%)
HSVhsv(292, 77%, 18%)
CMYKcmyk(10.6%, 76.6%, 0%, 81.6%)
CIE-LABlab(8.45, 22.41, -16.77)
CIE-LCHlch(8.45, 27.99, 323.18°)
OKLaboklab(22.04% 0.0595 -0.0467)
OKLCHoklch(22.04% 0.076 321.9)
XYZxyz(1.5876, 0.9369, 2.7860)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B2F #102F0B
analogous
#180B2F #2A0B2F #2F0B22
triadic
#2A0B2F #2F2A0B #0B2F2A
tetradic
#2A0B2F #2F180B #102F0B #0B222F
square
#2A0B2F #2F180B #102F0B #0B222F
split-complementary
#2A0B2F #222F0B #0B2F18
monochromatic
#160619 #160619 #2A0B2F #561761 #832292

Accessibility & contrast

On white

17.69
#2A0B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B2F
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B2F#FFFFFF#000000##FFFFFF
##2A0B2F1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041630
Deuteranopia (green-blind)
#0F1A2E
Tritanopia (blue-blind)
#2B111B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a0b2f;
/* rgb */ color: rgb(42, 11, 47);
/* oklch */ color: oklch(22.0% 0.076 321.9);
Tailwind
colors: {
  custom: {
    50: '#654c67',
    500: '#2a0b2f',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b2f;
$custom-light: #654c67;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b2f",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 291.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22043,
    "c": 0.07564,
    "h": 321.9
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#2A0B2F
secondary
#336B2A
accent
#E54359
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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