#2D0D3E#2D0D3E

#2D0D3E is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.092 H 311.3°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#2D0D3E
RGBrgb(45, 13, 62)
HSLhsl(279, 65%, 15%)
HSVhsv(279, 79%, 24%)
CMYKcmyk(27.4%, 79%, 0%, 75.7%)
CIE-LABlab(10.51, 25.93, -24.33)
CIE-LCHlch(10.51, 35.56, 316.82°)
OKLaboklab(24% 0.0605 -0.0687)
OKLCHoklch(24% 0.092 311.3)
XYZxyz(2.0955, 1.1936, 4.6765)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D3E #1E3E0D
analogous
#150D3E #2D0D3E #3E0D37
triadic
#2D0D3E #3E2D0D #0D3E2D
tetradic
#2D0D3E #3E150D #1E3E0D #0D373E
square
#2D0D3E #3E150D #1E3E0D #0D373E
split-complementary
#2D0D3E #373E0D #0D3E15
monochromatic
#120519 #120519 #2D0D3E #521871 #7622A3

Accessibility & contrast

On white

16.95
#2D0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2D0D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0D3E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D3E#FFFFFF#000000##FFFFFF
##2D0D3E1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#071D3D
Tritanopia (blue-blind)
#2B1724
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2d0d3e;
/* rgb */ color: rgb(45, 13, 62);
/* oklch */ color: oklch(24.0% 0.092 311.3);
Tailwind
colors: {
  custom: {
    50: '#684f74',
    500: '#2d0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d3e;
$custom-light: #684f74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d3e",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 279.184,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23995,
    "c": 0.09156,
    "h": 311.3
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#2D0D3E
secondary
#487A2D
accent
#E8407A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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