#2D0F38#2D0F38

#2D0F38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.081 H 315.8°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#2D0F38
RGBrgb(45, 15, 56)
HSLhsl(284, 58%, 14%)
HSVhsv(284, 73%, 22%)
CMYKcmyk(19.6%, 73.2%, 0%, 78%)
CIE-LABlab(10.45, 23.27, -20.14)
CIE-LCHlch(10.45, 30.77, 319.13°)
OKLaboklab(23.8% 0.0581 -0.0564)
OKLCHoklch(23.8% 0.081 315.8)
XYZxyz(1.9667, 1.1851, 3.8658)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F38 #1A380F
analogous
#190F38 #2D0F38 #380F2F
triadic
#2D0F38 #382D0F #0F382D
tetradic
#2D0F38 #38190F #1A380F #0F2F38
square
#2D0F38 #38190F #1A380F #0F2F38
split-complementary
#2D0F38 #2F380F #0F3819
monochromatic
#130618 #130618 #2D0F38 #541C68 #7B2999

Accessibility & contrast

On white

16.98
#2D0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D0F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F38
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F38#FFFFFF#000000##FFFFFF
##2D0F381.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B39
Deuteranopia (green-blind)
#0F1D37
Tritanopia (blue-blind)
#2C1621
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0f38;
/* rgb */ color: rgb(45, 15, 56);
/* oklch */ color: oklch(23.8% 0.081 315.8);
Tailwind
colors: {
  custom: {
    50: '#684f6f',
    500: '#2d0f38',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f38;
$custom-light: #684f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f38",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 283.902,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23802,
    "c": 0.08101,
    "h": 315.8
  },
  "luminance": 0.01185
}

Semantic roles & 50–950 ramp

primary
#2D0F38
secondary
#427230
accent
#E14770
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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