#2A0F2A#2A0F2A

#2A0F2A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.062 H 327.4°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#2A0F2A
RGBrgb(42, 15, 42)
HSLhsl(300, 47%, 11%)
HSVhsv(300, 64%, 16%)
CMYKcmyk(0%, 64.3%, 0%, 83.5%)
CIE-LABlab(9.00, 18.86, -12.20)
CIE-LCHlch(9.00, 22.46, 327.10°)
OKLaboklab(22.34% 0.0524 -0.0335)
OKLCHoklch(22.34% 0.062 327.4)
XYZxyz(1.5436, 1.0011, 2.3020)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F2A #0F2A0F
analogous
#1C0F2A #2A0F2A #2A0F1C
triadic
#2A0F2A #2A2A0F #0F2A2A
tetradic
#2A0F2A #2A1C0F #0F2A0F #0F1C2A
square
#2A0F2A #2A1C0F #0F2A0F #0F1C2A
split-complementary
#2A0F2A #1C2A0F #0F2A1C
monochromatic
#170817 #170817 #2A0F2A #571F57 #842F84

Accessibility & contrast

On white

17.50
#2A0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A0F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F2A
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F2A#FFFFFF#000000##FFFFFF
##2A0F2A1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#151B29
Tritanopia (blue-blind)
#2B121A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0f2a;
/* rgb */ color: rgb(42, 15, 42);
/* oklch */ color: oklch(22.3% 0.062 327.4);
Tailwind
colors: {
  custom: {
    50: '#644f63',
    500: '#2a0f2a',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f2a;
$custom-light: #644f63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f2a",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 300,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22337,
    "c": 0.06222,
    "h": 327.4
  },
  "luminance": 0.01001
}

Semantic roles & 50–950 ramp

primary
#2A0F2A
secondary
#326332
accent
#D75151
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050205
muted
#7A7879

Preview Lab

Preview with #2A0F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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