#2D0D49#2D0D49

#2D0D49 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.105 H 303.9°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#2D0D49
RGBrgb(45, 13, 73)
HSLhsl(272, 70%, 17%)
HSVhsv(272, 82%, 29%)
CMYKcmyk(38.4%, 82.2%, 0%, 71.4%)
CIE-LABlab(11.46, 28.90, -30.54)
CIE-LCHlch(11.46, 42.04, 313.42°)
OKLaboklab(24.97% 0.0584 -0.087)
OKLCHoklch(24.97% 0.105 303.9)
XYZxyz(2.4284, 1.3268, 6.4302)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D49 #29490D
analogous
#0F0D49 #2D0D49 #490D47
triadic
#2D0D49 #492D0D #0D492D
tetradic
#2D0D49 #490F0D #29490D #0D4749
square
#2D0D49 #490F0D #29490D #0D4749
split-complementary
#2D0D49 #47490D #0D490F
monochromatic
#10051A #10051A #2D0D49 #4D167D #6D20B1

Accessibility & contrast

On white

16.60
#2D0D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2D0D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0D49
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D49#FFFFFF#000000##FFFFFF
##2D0D491.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#271C2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0d49;
/* rgb */ color: rgb(45, 13, 73);
/* oklch */ color: oklch(25.0% 0.105 303.9);
Tailwind
colors: {
  custom: {
    50: '#694f7c',
    500: '#2d0d49',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d49;
$custom-light: #694f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d49",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 73
  },
  "hsl": {
    "h": 272,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24971,
    "c": 0.10476,
    "h": 303.9
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#2D0D49
secondary
#56842D
accent
#ED3B8E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2D0D49

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

Preview Lab → · Contrast checker → · Palette generator →

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