#2D0E41#2D0E41

#2D0E41 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.094 H 308.9°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2D0E41
RGBrgb(45, 14, 65)
HSLhsl(276, 65%, 15%)
HSVhsv(276, 78%, 25%)
CMYKcmyk(30.8%, 78.5%, 0%, 74.5%)
CIE-LABlab(10.95, 26.19, -25.76)
CIE-LCHlch(10.95, 36.74, 315.48°)
OKLaboklab(24.39% 0.0588 -0.0729)
OKLCHoklch(24.39% 0.094 308.9)
XYZxyz(2.1932, 1.2537, 5.1264)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0E41 #22410E
analogous
#140E41 #2D0E41 #410E3B
triadic
#2D0E41 #412D0E #0E412D
tetradic
#2D0E41 #41140E #22410E #0E3B41
square
#2D0E41 #41140E #22410E #0E3B41
split-complementary
#2D0E41 #3B410E #0E4114
monochromatic
#110519 #110519 #2D0E41 #501973 #7324A6

Accessibility & contrast

On white

16.79
#2D0E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0E41
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0E41#FFFFFF#000000##FFFFFF
##2D0E411.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C42
Deuteranopia (green-blind)
#051E40
Tritanopia (blue-blind)
#2A1926
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2d0e41;
/* rgb */ color: rgb(45, 14, 65);
/* oklch */ color: oklch(24.4% 0.094 308.9);
Tailwind
colors: {
  custom: {
    50: '#684f76',
    500: '#2d0e41',
    950: '#000000',
  },
}
SCSS
$custom: #2d0e41;
$custom-light: #684f76;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0e41",
  "rgb": {
    "r": 45,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 276.471,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24386,
    "c": 0.09367,
    "h": 308.9
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#2D0E41
secondary
#4D7C2F
accent
#E84082
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D0E41

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

Preview Lab → · Contrast checker → · Palette generator →

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