#2D0A3A#2D0A3A

#2D0A3A is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.091 H 315.2°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#2D0A3A
RGBrgb(45, 10, 58)
HSLhsl(284, 71%, 13%)
HSVhsv(284, 83%, 23%)
CMYKcmyk(22.4%, 82.8%, 0%, 77.3%)
CIE-LABlab(9.64, 26.44, -22.86)
CIE-LCHlch(9.64, 34.95, 319.15°)
OKLaboklab(23.28% 0.0648 -0.0644)
OKLCHoklch(23.28% 0.091 315.2)
XYZxyz(1.9543, 1.0805, 4.1078)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A3A #173A0A
analogous
#150A3A #2D0A3A #3A0A2F
triadic
#2D0A3A #3A2D0A #0A3A2D
tetradic
#2D0A3A #3A150A #173A0A #0A2F3A
square
#2D0A3A #3A150A #173A0A #0A2F3A
split-complementary
#2D0A3A #2F3A0A #0A3A15
monochromatic
#14051A #14051A #2D0A3A #55136E #7E1CA2

Accessibility & contrast

On white

17.27
#2D0A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A3A
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A3A#FFFFFF#000000##FFFFFF
##2D0A3A1.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d0a3a;
/* rgb */ color: rgb(45, 10, 58);
/* oklch */ color: oklch(23.3% 0.091 315.2);
Tailwind
colors: {
  custom: {
    50: '#684d70',
    500: '#2d0a3a',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a3a;
$custom-light: #684d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a3a",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 283.75,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23275,
    "c": 0.09135,
    "h": 315.2
  },
  "luminance": 0.0108
}

Semantic roles & 50–950 ramp

primary
#2D0A3A
secondary
#3E7728
accent
#ED3A6B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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