#2D0D44#2D0D44

#2D0D44 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.099 H 307.1°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#2D0D44
RGBrgb(45, 13, 68)
HSLhsl(275, 68%, 16%)
HSVhsv(275, 81%, 27%)
CMYKcmyk(33.8%, 80.9%, 0%, 73.3%)
CIE-LABlab(11.01, 27.53, -27.76)
CIE-LCHlch(11.01, 39.10, 314.76°)
OKLaboklab(24.52% 0.0595 -0.0788)
OKLCHoklch(24.52% 0.099 307.1)
XYZxyz(2.2693, 1.2631, 5.5920)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D44 #24440D
analogous
#110D44 #2D0D44 #440D3F
triadic
#2D0D44 #442D0D #0D442D
tetradic
#2D0D44 #44110D #24440D #0D3F44
square
#2D0D44 #44110D #24440D #0D3F44
split-complementary
#2D0D44 #3F440D #0D4411
monochromatic
#11051A #11051A #2D0D44 #4F1777 #7121AB

Accessibility & contrast

On white

16.77
#2D0D44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2D0D44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0D44
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D44#FFFFFF#000000##FFFFFF
##2D0D441.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#291A27
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0d44;
/* rgb */ color: rgb(45, 13, 68);
/* oklch */ color: oklch(24.5% 0.099 307.1);
Tailwind
colors: {
  custom: {
    50: '#694f78',
    500: '#2d0d44',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d44;
$custom-light: #694f78;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d44",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 68
  },
  "hsl": {
    "h": 274.909,
    "s": 67.901,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24515,
    "c": 0.09876,
    "h": 307.1
  },
  "luminance": 0.01263
}

Semantic roles & 50–950 ramp

primary
#2D0D44
secondary
#507F2D
accent
#EB3D86
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D0D44

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

Preview Lab → · Contrast checker → · Palette generator →

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