#2D0D3F#2D0D3F

#2D0D3F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.093 H 310.6°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#2D0D3F
RGBrgb(45, 13, 63)
HSLhsl(278, 66%, 15%)
HSVhsv(278, 79%, 25%)
CMYKcmyk(28.6%, 79.4%, 0%, 75.3%)
CIE-LABlab(10.59, 26.19, -24.91)
CIE-LCHlch(10.59, 36.15, 316.44°)
OKLaboklab(24.08% 0.0603 -0.0704)
OKLCHoklch(24.08% 0.093 310.6)
XYZxyz(2.1231, 1.2047, 4.8223)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0D3F #1F3F0D
analogous
#140D3F #2D0D3F #3F0D38
triadic
#2D0D3F #3F2D0D #0D3F2D
tetradic
#2D0D3F #3F140D #1F3F0D #0D383F
square
#2D0D3F #3F140D #1F3F0D #0D383F
split-complementary
#2D0D3F #383F0D #0D3F14
monochromatic
#120519 #120519 #2D0D3F #511772 #7522A4

Accessibility & contrast

On white

16.92
#2D0D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0D3F
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0D3F#FFFFFF#000000##FFFFFF
##2D0D3F1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#061D3E
Tritanopia (blue-blind)
#2B1824
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0d3f;
/* rgb */ color: rgb(45, 13, 63);
/* oklch */ color: oklch(24.1% 0.093 310.6);
Tailwind
colors: {
  custom: {
    50: '#684f74',
    500: '#2d0d3f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0d3f;
$custom-light: #684f74;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0d3f",
  "rgb": {
    "r": 45,
    "g": 13,
    "b": 63
  },
  "hsl": {
    "h": 278.4,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24079,
    "c": 0.09276,
    "h": 310.6
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#2D0D3F
secondary
#497B2D
accent
#E93F7C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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