#2D0B3E#2D0B3E

#2D0B3E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.095 H 311.8°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#2D0B3E
RGBrgb(45, 11, 62)
HSLhsl(280, 70%, 14%)
HSVhsv(280, 82%, 24%)
CMYKcmyk(27.4%, 82.3%, 0%, 75.7%)
CIE-LABlab(10.15, 26.96, -24.92)
CIE-LCHlch(10.15, 36.71, 317.25°)
OKLaboklab(23.74% 0.063 -0.0704)
OKLCHoklch(23.74% 0.095 311.8)
XYZxyz(2.0712, 1.1451, 4.6684)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0B3E #1C3E0B
analogous
#140B3E #2D0B3E #3E0B36
triadic
#2D0B3E #3E2D0B #0B3E2D
tetradic
#2D0B3E #3E140B #1C3E0B #0B363E
square
#2D0B3E #3E140B #1C3E0B #0B363E
split-complementary
#2D0B3E #363E0B #0B3E14
monochromatic
#13051A #13051A #2D0B3E #531472 #781DA6

Accessibility & contrast

On white

17.09
#2D0B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0B3E
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0B3E#FFFFFF#000000##FFFFFF
##2D0B3E1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#051C3D
Tritanopia (blue-blind)
#2B1623
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0b3e;
/* rgb */ color: rgb(45, 11, 62);
/* oklch */ color: oklch(23.7% 0.095 311.8);
Tailwind
colors: {
  custom: {
    50: '#684e74',
    500: '#2d0b3e',
    950: '#000000',
  },
}
SCSS
$custom: #2d0b3e;
$custom-light: #684e74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0b3e",
  "rgb": {
    "r": 45,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 280,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23736,
    "c": 0.0945,
    "h": 311.8
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#2D0B3E
secondary
#457B2A
accent
#ED3B76
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D0B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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