#2D0B3A#2D0B3A

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

Color values

HEX#2D0B3A
RGBrgb(45, 11, 58)
HSLhsl(283, 68%, 14%)
HSVhsv(283, 81%, 23%)
CMYKcmyk(22.4%, 81%, 0%, 77.3%)
CIE-LABlab(9.82, 25.95, -22.58)
CIE-LCHlch(9.82, 34.40, 318.97°)
OKLaboklab(23.4% 0.0635 -0.0636)
OKLCHoklch(23.4% 0.09 315)
XYZxyz(1.9655, 1.1028, 4.1115)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B3A #183A0B
analogous
#150B3A #2D0B3A #3A0B2F
triadic
#2D0B3A #3A2D0B #0B3A2D
tetradic
#2D0B3A #3A150B #183A0B #0B2F3A
square
#2D0B3A #3A150B #183A0B #0B2F3A
split-complementary
#2D0B3A #2F3A0B #0B3A15
monochromatic
#14051A #14051A #2D0B3A #55156D #7D1FA1

Accessibility & contrast

On white

17.20
#2D0B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B3A
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B3A#FFFFFF#000000##FFFFFF
##2D0B3A1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#091C39
Tritanopia (blue-blind)
#2C1521
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0b3a;
/* rgb */ color: rgb(45, 11, 58);
/* oklch */ color: oklch(23.4% 0.090 315.0);
Tailwind
colors: {
  custom: {
    50: '#684d70',
    500: '#2d0b3a',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b3a;
$custom-light: #684d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b3a",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 283.404,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.234,
    "c": 0.08989,
    "h": 315
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#2D0B3A
secondary
#3F772A
accent
#EB3D6D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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