#2D1449#2D1449

#2D1449 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.095 H 301.8°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#2D1449
RGBrgb(45, 20, 73)
HSLhsl(268, 57%, 18%)
HSVhsv(268, 73%, 29%)
CMYKcmyk(38.4%, 72.6%, 0%, 71.4%)
CIE-LABlab(12.86, 25.01, -28.28)
CIE-LCHlch(12.86, 37.75, 311.49°)
OKLaboklab(25.97% 0.0499 -0.0804)
OKLCHoklch(25.97% 0.095 301.8)
XYZxyz(2.5347, 1.5392, 6.4656)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1449 #304914
analogous
#141549 #2D1449 #471449
triadic
#2D1449 #492D14 #14492D
tetradic
#2D1449 #491415 #304914 #144947
square
#2D1449 #491415 #304914 #144947
split-complementary
#2D1449 #494714 #154914
monochromatic
#0F0718 #0F0719 #2D1449 #4B2179 #682EA9

Accessibility & contrast

On white

16.06
#2D1449 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2D1449 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1449
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1449#FFFFFF#000000##FFFFFF
##2D14491.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#022148
Tritanopia (blue-blind)
#27202C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d1449;
/* rgb */ color: rgb(45, 20, 73);
/* oklch */ color: oklch(26.0% 0.095 301.8);
Tailwind
colors: {
  custom: {
    50: '#69537c',
    500: '#2d1449',
    950: '#000000',
  },
}
SCSS
$custom: #2d1449;
$custom-light: #69537c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1449",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 73
  },
  "hsl": {
    "h": 268.302,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25965,
    "c": 0.09457,
    "h": 301.8
  },
  "luminance": 0.01539
}

Semantic roles & 50–950 ramp

primary
#2D1449
secondary
#5E8138
accent
#E04898
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D1449

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

Preview Lab → · Contrast checker → · Palette generator →

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