#2D0F32#2D0F32

#2D0F32 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.074 H 321.7°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2D0F32
RGBrgb(45, 15, 50)
HSLhsl(291, 54%, 13%)
HSVhsv(291, 70%, 20%)
CMYKcmyk(10%, 70%, 0%, 80.4%)
CIE-LABlab(10.03, 21.78, -16.45)
CIE-LCHlch(10.03, 27.29, 322.95°)
OKLaboklab(23.36% 0.0579 -0.0457)
OKLCHoklch(23.36% 0.074 321.7)
XYZxyz(1.8287, 1.1299, 3.1388)
Luminance0.0113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F32 #14320F
analogous
#1C0F32 #2D0F32 #320F25
triadic
#2D0F32 #322D0F #0F322D
tetradic
#2D0F32 #321C0F #14320F #0F2532
square
#2D0F32 #321C0F #14320F #0F2532
split-complementary
#2D0F32 #25320F #0F321C
monochromatic
#150718 #150718 #2D0F32 #571D61 #822B90

Accessibility & contrast

On white

17.13
#2D0F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2D0F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F32
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F32#FFFFFF#000000##FFFFFF
##2D0F321.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081933
Deuteranopia (green-blind)
#131D31
Tritanopia (blue-blind)
#2E141E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0f32;
/* rgb */ color: rgb(45, 15, 50);
/* oklch */ color: oklch(23.4% 0.074 321.7);
Tailwind
colors: {
  custom: {
    50: '#674f6a',
    500: '#2d0f32',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f32;
$custom-light: #674f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f32",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 291.429,
    "s": 53.846,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23364,
    "c": 0.07376,
    "h": 321.7
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#2D0F32
secondary
#396C31
accent
#DD4B60
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0F32

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

Preview Lab → · Contrast checker → · Palette generator →

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