#2D0A33#2D0A33

#2D0A33 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.084 H 321.5°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#2D0A33
RGBrgb(45, 10, 51)
HSLhsl(291, 67%, 12%)
HSVhsv(291, 80%, 20%)
CMYKcmyk(11.8%, 80.4%, 0%, 80%)
CIE-LABlab(9.11, 24.76, -18.64)
CIE-LCHlch(9.11, 30.99, 323.02°)
OKLaboklab(22.72% 0.0654 -0.052)
OKLCHoklch(22.72% 0.084 321.5)
XYZxyz(1.7882, 1.0141, 3.2329)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A33 #10330A
analogous
#190A33 #2D0A33 #330A25
triadic
#2D0A33 #332D0A #0A332D
tetradic
#2D0A33 #33190A #10330A #0A2533
square
#2D0A33 #33190A #10330A #0A2533
split-complementary
#2D0A33 #25330A #0A3319
monochromatic
#17051A #17051A #2D0A33 #5A1466 #871E99

Accessibility & contrast

On white

17.46
#2D0A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0A33
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A33#FFFFFF#000000##FFFFFF
##2D0A331.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#0F1B32
Tritanopia (blue-blind)
#2E111D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0a33;
/* rgb */ color: rgb(45, 10, 51);
/* oklch */ color: oklch(22.7% 0.084 321.5);
Tailwind
colors: {
  custom: {
    50: '#684c6b',
    500: '#2d0a33',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a33;
$custom-light: #684c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a33",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 51
  },
  "hsl": {
    "h": 291.22,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22719,
    "c": 0.08354,
    "h": 321.5
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#2D0A33
secondary
#337028
accent
#EA3E57
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0A33

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

Preview Lab → · Contrast checker → · Palette generator →

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