#2D0A38#2D0A38

#2D0A38 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.089 H 316.9°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#2D0A38
RGBrgb(45, 10, 56)
HSLhsl(286, 70%, 13%)
HSVhsv(286, 82%, 22%)
CMYKcmyk(19.6%, 82.1%, 0%, 78%)
CIE-LABlab(9.49, 25.95, -21.67)
CIE-LCHlch(9.49, 33.81, 320.13°)
OKLaboklab(23.11% 0.065 -0.0609)
OKLCHoklch(23.11% 0.089 316.9)
XYZxyz(1.9044, 1.0606, 3.8450)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A38 #15380A
analogous
#160A38 #2D0A38 #380A2C
triadic
#2D0A38 #382D0A #0A382D
tetradic
#2D0A38 #38160A #15380A #0A2C38
square
#2D0A38 #38160A #15380A #0A2C38
split-complementary
#2D0A38 #2C380A #0A3816
monochromatic
#15051A #15051A #2D0A38 #57136C #801DA0

Accessibility & contrast

On white

17.33
#2D0A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D0A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0A38
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A38#FFFFFF#000000##FFFFFF
##2D0A381.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#0B1B37
Tritanopia (blue-blind)
#2C1320
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0a38;
/* rgb */ color: rgb(45, 10, 56);
/* oklch */ color: oklch(23.1% 0.089 316.9);
Tailwind
colors: {
  custom: {
    50: '#684d6f',
    500: '#2d0a38',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a38;
$custom-light: #684d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a38",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 285.652,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23111,
    "c": 0.0891,
    "h": 316.9
  },
  "luminance": 0.0106
}

Semantic roles & 50–950 ramp

primary
#2D0A38
secondary
#3B7528
accent
#ED3B66
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0A38

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

Preview Lab → · Contrast checker → · Palette generator →

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