#2D0C30#2D0C30

#2D0C30 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.077 H 324.3°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2D0C30
RGBrgb(45, 12, 48)
HSLhsl(295, 60%, 12%)
HSVhsv(295, 75%, 19%)
CMYKcmyk(6.2%, 75%, 0%, 81.2%)
CIE-LABlab(9.27, 23.02, -16.18)
CIE-LCHlch(9.27, 28.13, 324.90°)
OKLaboklab(22.77% 0.0625 -0.0449)
OKLCHoklch(22.77% 0.077 324.3)
XYZxyz(1.7471, 1.0343, 2.9034)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C30 #0F300C
analogous
#1B0C30 #2D0C30 #300C21
triadic
#2D0C30 #302D0C #0C302D
tetradic
#2D0C30 #301B0C #0F300C #0C2130
square
#2D0C30 #301B0C #0F300C #0C2130
split-complementary
#2D0C30 #21300C #0C301B
monochromatic
#170618 #170618 #2D0C30 #5B1861 #892492

Accessibility & contrast

On white

17.40
#2D0C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C30
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C30#FFFFFF#000000##FFFFFF
##2D0C301.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061731
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#2E111C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2d0c30;
/* rgb */ color: rgb(45, 12, 48);
/* oklch */ color: oklch(22.8% 0.077 324.3);
Tailwind
colors: {
  custom: {
    50: '#674d68',
    500: '#2d0c30',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c30;
$custom-light: #674d68;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c30",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 48
  },
  "hsl": {
    "h": 295,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22771,
    "c": 0.0769,
    "h": 324.3
  },
  "luminance": 0.01034
}

Semantic roles & 50–950 ramp

primary
#2D0C30
secondary
#316C2C
accent
#E34552
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2D0C30

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

Preview Lab → · Contrast checker → · Palette generator →

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