#2D0A35#2D0A35

#2D0A35 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.086 H 319.6°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#2D0A35
RGBrgb(45, 10, 53)
HSLhsl(289, 68%, 12%)
HSVhsv(289, 81%, 21%)
CMYKcmyk(15.1%, 81.1%, 0%, 79.2%)
CIE-LABlab(9.26, 25.23, -19.86)
CIE-LCHlch(9.26, 32.11, 321.78°)
OKLaboklab(22.87% 0.0653 -0.0556)
OKLCHoklch(22.87% 0.086 319.6)
XYZxyz(1.8333, 1.0321, 3.4701)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A35 #12350A
analogous
#170A35 #2D0A35 #350A28
triadic
#2D0A35 #352D0A #0A352D
tetradic
#2D0A35 #35170A #12350A #0A2835
square
#2D0A35 #35170A #12350A #0A2835
split-complementary
#2D0A35 #28350A #0A3517
monochromatic
#16051A #16051A #2D0A35 #591468 #841D9C

Accessibility & contrast

On white

17.41
#2D0A35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A35
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A35#FFFFFF#000000##FFFFFF
##2D0A351.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001836
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#2D121E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0a35;
/* rgb */ color: rgb(45, 10, 53);
/* oklch */ color: oklch(22.9% 0.086 319.6);
Tailwind
colors: {
  custom: {
    50: '#684d6c',
    500: '#2d0a35',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a35;
$custom-light: #684d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a35",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 53
  },
  "hsl": {
    "h": 288.837,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22873,
    "c": 0.08575,
    "h": 319.6
  },
  "luminance": 0.01032
}

Semantic roles & 50–950 ramp

primary
#2D0A35
secondary
#367228
accent
#EB3D5D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2D0A35

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

Preview Lab → · Contrast checker → · Palette generator →

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