#2A0F32#2A0F32

#2A0F32 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.072 H 317.9°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#2A0F32
RGBrgb(42, 15, 50)
HSLhsl(286, 54%, 13%)
HSVhsv(286, 70%, 20%)
CMYKcmyk(16%, 70%, 0%, 80.4%)
CIE-LABlab(9.52, 20.81, -17.29)
CIE-LCHlch(9.52, 27.06, 320.28°)
OKLaboklab(22.88% 0.0534 -0.0483)
OKLCHoklch(22.88% 0.072 317.9)
XYZxyz(1.7013, 1.0642, 3.1328)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F32 #17320F
analogous
#190F32 #2A0F32 #320F28
triadic
#2A0F32 #322A0F #0F322A
tetradic
#2A0F32 #32190F #17320F #0F2832
square
#2A0F32 #32190F #17320F #0F2832
split-complementary
#2A0F32 #28320F #0F3219
monochromatic
#140718 #140718 #2A0F32 #521D61 #792B90

Accessibility & contrast

On white

17.32
#2A0F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F32
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F32#FFFFFF#000000##FFFFFF
##2A0F321.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071933
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#2A151E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0f32;
/* rgb */ color: rgb(42, 15, 50);
/* oklch */ color: oklch(22.9% 0.072 317.9);
Tailwind
colors: {
  custom: {
    50: '#654f6a',
    500: '#2a0f32',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f32;
$custom-light: #654f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f32",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 286.286,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22882,
    "c": 0.07196,
    "h": 317.9
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#2A0F32
secondary
#3E6C31
accent
#DD4B6C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2A0F32

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

Preview Lab → · Contrast checker → · Palette generator →

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