#2D0D47#2D0D47

#2D0D47 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.102 H 305.1°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#2D0D47
RGBrgb(45, 13, 71)
HSLhsl(273, 69%, 16%)
HSVhsv(273, 82%, 28%)
CMYKcmyk(36.6%, 81.7%, 0%, 72.2%)
CIE-LABlab(11.28, 28.35, -29.44)
CIE-LCHlch(11.28, 40.87, 313.92°)
OKLaboklab(24.79% 0.0589 -0.0837)
OKLCHoklch(24.79% 0.102 305.1)
XYZxyz(2.3632, 1.3007, 6.0866)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D47 #27470D
analogous
#100D47 #2D0D47 #470D44
triadic
#2D0D47 #472D0D #0D472D
tetradic
#2D0D47 #47100D #27470D #0D4447
square
#2D0D47 #47100D #27470D #0D4447
split-complementary
#2D0D47 #44470D #0D4710
monochromatic
#10051A #10051A #2D0D47 #4E167B #6F20AE

Accessibility & contrast

On white

16.66
#2D0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D0D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0D47
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D47#FFFFFF#000000##FFFFFF
##2D0D471.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#281B29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d0d47;
/* rgb */ color: rgb(45, 13, 71);
/* oklch */ color: oklch(24.8% 0.102 305.1);
Tailwind
colors: {
  custom: {
    50: '#694f7b',
    500: '#2d0d47',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d47;
$custom-light: #694f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d47",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 273.103,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24786,
    "c": 0.10236,
    "h": 305.1
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#2D0D47
secondary
#54822D
accent
#EC3C8B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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