#2D1441#2D1441

#2D1441 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.084 H 307.0°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#2D1441
RGBrgb(45, 20, 65)
HSLhsl(273, 53%, 17%)
HSVhsv(273, 69%, 25%)
CMYKcmyk(30.8%, 69.2%, 0%, 74.5%)
CIE-LABlab(12.22, 22.69, -23.71)
CIE-LCHlch(12.22, 32.82, 313.75°)
OKLaboklab(25.3% 0.0504 -0.0669)
OKLCHoklch(25.3% 0.084 307)
XYZxyz(2.2863, 1.4399, 5.1575)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1441 #284114
analogous
#171441 #2D1441 #41143F
triadic
#2D1441 #412D14 #14412D
tetradic
#2D1441 #411714 #284114 #143F41
square
#2D1441 #411714 #284114 #143F41
split-complementary
#2D1441 #3F4114 #144117
monochromatic
#100717 #100717 #2D1441 #4D2270 #6E319F

Accessibility & contrast

On white

16.30
#2D1441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2D1441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1441
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1441#FFFFFF#000000##FFFFFF
##2D14411.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F42
Deuteranopia (green-blind)
#0C2040
Tritanopia (blue-blind)
#2A1D28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2d1441;
/* rgb */ color: rgb(45, 20, 65);
/* oklch */ color: oklch(25.3% 0.084 307.0);
Tailwind
colors: {
  custom: {
    50: '#685376',
    500: '#2d1441',
    950: '#000000',
  },
}
SCSS
$custom: #2d1441;
$custom-light: #685376;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1441",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 65
  },
  "hsl": {
    "h": 273.333,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25303,
    "c": 0.08382,
    "h": 307
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#2D1441
secondary
#557938
accent
#DC4B8C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D1441

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

Preview Lab → · Contrast checker → · Palette generator →

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