#2A0F2B#2A0F2B

#2A0F2B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.063 H 326.1°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#2A0F2B
RGBrgb(42, 15, 43)
HSLhsl(298, 48%, 11%)
HSVhsv(298, 65%, 17%)
CMYKcmyk(2.3%, 65.1%, 0%, 83.1%)
CIE-LABlab(9.06, 19.09, -12.85)
CIE-LCHlch(9.06, 23.01, 326.06°)
OKLaboklab(22.4% 0.0526 -0.0354)
OKLCHoklch(22.4% 0.063 326.1)
XYZxyz(1.5617, 1.0084, 2.3974)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F2B #102B0F
analogous
#1C0F2B #2A0F2B #2B0F1E
triadic
#2A0F2B #2B2A0F #0F2B2A
tetradic
#2A0F2B #2B1C0F #102B0F #0F1E2B
square
#2A0F2B #2B1C0F #102B0F #0F1E2B
split-complementary
#2A0F2B #1E2B0F #0F2B1C
monochromatic
#160817 #160817 #2A0F2B #561F58 #832F86

Accessibility & contrast

On white

17.48
#2A0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F2B
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F2B#FFFFFF#000000##FFFFFF
##2A0F2B1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172C
Deuteranopia (green-blind)
#141B2A
Tritanopia (blue-blind)
#2B121B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0f2b;
/* rgb */ color: rgb(42, 15, 43);
/* oklch */ color: oklch(22.4% 0.063 326.1);
Tailwind
colors: {
  custom: {
    50: '#644f64',
    500: '#2a0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f2b;
$custom-light: #644f64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f2b",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 297.857,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22401,
    "c": 0.06339,
    "h": 326.1
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#2A0F2B
secondary
#336432
accent
#D85055
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050205
muted
#7A787A

Preview Lab

Preview with #2A0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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