#2D0A3E#2D0A3E

#2D0A3E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.096 H 312.0°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2D0A3E
RGBrgb(45, 10, 62)
HSLhsl(280, 72%, 14%)
HSVhsv(280, 84%, 24%)
CMYKcmyk(27.4%, 83.9%, 0%, 75.7%)
CIE-LABlab(9.98, 27.45, -25.20)
CIE-LCHlch(9.98, 37.26, 317.45°)
OKLaboklab(23.62% 0.0642 -0.0712)
OKLCHoklch(23.62% 0.096 312)
XYZxyz(2.0601, 1.1228, 4.6647)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A3E #1B3E0A
analogous
#130A3E #2D0A3E #3E0A35
triadic
#2D0A3E #3E2D0A #0A3E2D
tetradic
#2D0A3E #3E130A #1B3E0A #0A353E
square
#2D0A3E #3E130A #1B3E0A #0A353E
split-complementary
#2D0A3E #353E0A #0A3E13
monochromatic
#13041A #13041A #2D0A3E #531373 #7A1BA7

Accessibility & contrast

On white

17.15
#2D0A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A3E
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A3E#FFFFFF#000000##FFFFFF
##2D0A3E1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0a3e;
/* rgb */ color: rgb(45, 10, 62);
/* oklch */ color: oklch(23.6% 0.096 312.0);
Tailwind
colors: {
  custom: {
    50: '#684d74',
    500: '#2d0a3e',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a3e;
$custom-light: #684d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a3e",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 280.385,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23615,
    "c": 0.09589,
    "h": 312
  },
  "luminance": 0.01123
}

Semantic roles & 50–950 ramp

primary
#2D0A3E
secondary
#447B28
accent
#EF3974
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D0A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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