#2A0F29#2A0F29

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

Color values

HEX#2A0F29
RGBrgb(42, 15, 41)
HSLhsl(302, 47%, 11%)
HSVhsv(302, 64%, 16%)
CMYKcmyk(0%, 64.3%, 2.4%, 83.5%)
CIE-LABlab(8.94, 18.62, -11.54)
CIE-LCHlch(8.94, 21.91, 328.21°)
OKLaboklab(22.27% 0.0522 -0.0316)
OKLCHoklch(22.27% 0.061 328.8)
XYZxyz(1.5259, 0.9941, 2.2089)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F29 #0F2A10
analogous
#1D0F2A #2A0F29 #2A0F1B
triadic
#2A0F29 #292A0F #0F292A
tetradic
#2A0F29 #2A1D0F #0F2A10 #0F1B2A
square
#2A0F29 #2A1D0F #0F2A10 #0F1B2A
split-complementary
#2A0F29 #1B2A0F #0F2A1D
monochromatic
#170816 #170816 #2A0F29 #571F55 #842F81

Accessibility & contrast

On white

17.52
#2A0F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0F29
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F29#FFFFFF#000000##FFFFFF
##2A0F291.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D172A
Deuteranopia (green-blind)
#151B28
Tritanopia (blue-blind)
#2C121A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0f29;
/* rgb */ color: rgb(42, 15, 41);
/* oklch */ color: oklch(22.3% 0.061 328.8);
Tailwind
colors: {
  custom: {
    50: '#644e62',
    500: '#2a0f29',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f29;
$custom-light: #644e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f29",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 302.222,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22274,
    "c": 0.06107,
    "h": 328.8
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#2A0F29
secondary
#326334
accent
#D75651
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#050205
muted
#7A7879

Preview Lab

Preview with #2A0F29

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

Preview Lab → · Contrast checker → · Palette generator →

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