#2A0F28#2A0F28

#2A0F28 is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.2% C 0.060 H 330.2°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#2A0F28
RGBrgb(42, 15, 40)
HSLhsl(304, 47%, 11%)
HSVhsv(304, 64%, 16%)
CMYKcmyk(0%, 64.3%, 4.8%, 83.5%)
CIE-LABlab(8.88, 18.40, -10.89)
CIE-LCHlch(8.88, 21.38, 329.39°)
OKLaboklab(22.21% 0.052 -0.0298)
OKLCHoklch(22.21% 0.06 330.2)
XYZxyz(1.5087, 0.9872, 2.1182)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F28 #0F2A11
analogous
#1E0F2A #2A0F28 #2A0F1A
triadic
#2A0F28 #282A0F #0F282A
tetradic
#2A0F28 #2A1E0F #0F2A11 #0F1A2A
square
#2A0F28 #2A1E0F #0F2A11 #0F1A2A
split-complementary
#2A0F28 #1A2A0F #0F2A1E
monochromatic
#170815 #170815 #2A0F28 #571F53 #842F7E

Accessibility & contrast

On white

17.54
#2A0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F28
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F28#FFFFFF#000000##FFFFFF
##2A0F281.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1729
Deuteranopia (green-blind)
#161B27
Tritanopia (blue-blind)
#2C1119
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0f28;
/* rgb */ color: rgb(42, 15, 40);
/* oklch */ color: oklch(22.2% 0.060 330.2);
Tailwind
colors: {
  custom: {
    50: '#644e62',
    500: '#2a0f28',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f28;
$custom-light: #644e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f28",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 304.444,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22213,
    "c": 0.05993,
    "h": 330.2
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#2A0F28
secondary
#326335
accent
#D75B51
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050205
muted
#7A7879

Preview Lab

Preview with #2A0F28

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

Preview Lab → · Contrast checker → · Palette generator →

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