#2A0F2D#2A0F2D

#2A0F2D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.066 H 323.5°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2A0F2D
RGBrgb(42, 15, 45)
HSLhsl(294, 50%, 12%)
HSVhsv(294, 67%, 18%)
CMYKcmyk(6.7%, 66.7%, 0%, 82.4%)
CIE-LABlab(9.18, 19.57, -14.14)
CIE-LCHlch(9.18, 24.14, 324.16°)
OKLaboklab(22.53% 0.0529 -0.0391)
OKLCHoklch(22.53% 0.066 323.5)
XYZxyz(1.5993, 1.0234, 2.5954)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F2D #122D0F
analogous
#1B0F2D #2A0F2D #2D0F21
triadic
#2A0F2D #2D2A0F #0F2D2A
tetradic
#2A0F2D #2D1B0F #122D0F #0F212D
square
#2A0F2D #2D1B0F #122D0F #0F212D
split-complementary
#2A0F2D #212D0F #0F2D1B
monochromatic
#150817 #150817 #2A0F2D #551E5B #802E89

Accessibility & contrast

On white

17.43
#2A0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F2D
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F2D#FFFFFF#000000##FFFFFF
##2A0F2D1.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182E
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#2B131C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0f2d;
/* rgb */ color: rgb(42, 15, 45);
/* oklch */ color: oklch(22.5% 0.066 323.5);
Tailwind
colors: {
  custom: {
    50: '#654f66',
    500: '#2a0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f2d;
$custom-light: #654f66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f2d",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 294,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22532,
    "c": 0.06578,
    "h": 323.5
  },
  "luminance": 0.01023
}

Semantic roles & 50–950 ramp

primary
#2A0F2D
secondary
#376631
accent
#DA4E5C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050206
muted
#7A787A

Preview Lab

Preview with #2A0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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