#2D0A3C#2D0A3C

#2D0A3C is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.094 H 313.6°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#2D0A3C
RGBrgb(45, 10, 60)
HSLhsl(282, 71%, 14%)
HSVhsv(282, 83%, 24%)
CMYKcmyk(25%, 83.3%, 0%, 76.5%)
CIE-LABlab(9.81, 26.94, -24.04)
CIE-LCHlch(9.81, 36.10, 318.26°)
OKLaboklab(23.44% 0.0645 -0.0678)
OKLCHoklch(23.44% 0.094 313.6)
XYZxyz(2.0062, 1.1013, 4.3810)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0A3C #193C0A
analogous
#140A3C #2D0A3C #3C0A32
triadic
#2D0A3C #3C2D0A #0A3C2D
tetradic
#2D0A3C #3C140A #193C0A #0A323C
square
#2D0A3C #3C140A #193C0A #0A323C
split-complementary
#2D0A3C #323C0A #0A3C14
monochromatic
#14041A #14041A #2D0A3C #541370 #7C1BA5

Accessibility & contrast

On white

17.21
#2D0A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0A3C
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0A3C#FFFFFF#000000##FFFFFF
##2D0A3C1.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#061C3B
Tritanopia (blue-blind)
#2B1522
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0a3c;
/* rgb */ color: rgb(45, 10, 60);
/* oklch */ color: oklch(23.4% 0.094 313.6);
Tailwind
colors: {
  custom: {
    50: '#684d72',
    500: '#2d0a3c',
    950: '#000000',
  },
}
SCSS
$custom: #2d0a3c;
$custom-light: #684d72;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0a3c",
  "rgb": {
    "r": 45,
    "g": 10,
    "b": 60
  },
  "hsl": {
    "h": 282,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23443,
    "c": 0.09362,
    "h": 313.6
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#2D0A3C
secondary
#417928
accent
#EE3A70
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2D0A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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