#2D0F30#2D0F30

#2D0F30 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.071 H 323.9°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2D0F30
RGBrgb(45, 15, 48)
HSLhsl(295, 52%, 12%)
HSVhsv(295, 69%, 19%)
CMYKcmyk(6.2%, 68.7%, 0%, 81.2%)
CIE-LABlab(9.90, 21.31, -15.19)
CIE-LCHlch(9.90, 26.16, 324.52°)
OKLaboklab(23.23% 0.0577 -0.042)
OKLCHoklch(23.23% 0.071 323.9)
XYZxyz(1.7865, 1.1130, 2.9165)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F30 #12300F
analogous
#1C0F30 #2D0F30 #300F23
triadic
#2D0F30 #302D0F #0F302D
tetradic
#2D0F30 #301C0F #12300F #0F2330
square
#2D0F30 #301C0F #12300F #0F2330
split-complementary
#2D0F30 #23300F #0F301C
monochromatic
#160717 #160717 #2D0F30 #591E5F #842C8D

Accessibility & contrast

On white

17.18
#2D0F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D0F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F30
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F30#FFFFFF#000000##FFFFFF
##2D0F301.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1931
Deuteranopia (green-blind)
#141D2F
Tritanopia (blue-blind)
#2E141D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0f30;
/* rgb */ color: rgb(45, 15, 48);
/* oklch */ color: oklch(23.2% 0.071 323.9);
Tailwind
colors: {
  custom: {
    50: '#674f68',
    500: '#2d0f30',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f30;
$custom-light: #674f68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f30",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 294.545,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23227,
    "c": 0.07141,
    "h": 323.9
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#2D0F30
secondary
#366A31
accent
#DC4C59
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0F30

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

Preview Lab → · Contrast checker → · Palette generator →

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