#2D0E34#2D0E34

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

Color values

HEX#2D0E34
RGBrgb(45, 14, 52)
HSLhsl(289, 58%, 13%)
HSVhsv(289, 73%, 20%)
CMYKcmyk(13.5%, 73.1%, 0%, 79.6%)
CIE-LABlab(9.95, 22.85, -18.02)
CIE-LCHlch(9.95, 29.10, 321.73°)
OKLaboklab(23.35% 0.0596 -0.0503)
OKLCHoklch(23.35% 0.078 319.8)
XYZxyz(1.8590, 1.1200, 3.3664)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E34 #15340E
analogous
#1A0E34 #2D0E34 #340E28
triadic
#2D0E34 #342D0E #0E342D
tetradic
#2D0E34 #341A0E #15340E #0E2834
square
#2D0E34 #341A0E #15340E #0E2834
split-complementary
#2D0E34 #28340E #0E341A
monochromatic
#150618 #150618 #2D0E34 #571B64 #802894

Accessibility & contrast

On white

17.16
#2D0E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0E34
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E34#FFFFFF#000000##FFFFFF
##2D0E341.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051935
Deuteranopia (green-blind)
#111C33
Tritanopia (blue-blind)
#2D141F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d0e34;
/* rgb */ color: rgb(45, 14, 52);
/* oklch */ color: oklch(23.4% 0.078 319.8);
Tailwind
colors: {
  custom: {
    50: '#674f6b',
    500: '#2d0e34',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e34;
$custom-light: #674f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e34",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 288.947,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23352,
    "c": 0.07796,
    "h": 319.8
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#2D0E34
secondary
#3B6F2F
accent
#E14763
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2D0E34

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

Preview Lab → · Contrast checker → · Palette generator →

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