#2D1446#2D1446

#2D1446 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.091 H 303.6°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#2D1446
RGBrgb(45, 20, 70)
HSLhsl(270, 56%, 18%)
HSVhsv(270, 71%, 27%)
CMYKcmyk(35.7%, 71.4%, 0%, 72.5%)
CIE-LABlab(12.61, 24.13, -26.59)
CIE-LCHlch(12.61, 35.90, 312.23°)
OKLaboklab(25.71% 0.0502 -0.0754)
OKLCHoklch(25.71% 0.091 303.6)
XYZxyz(2.4376, 1.5004, 5.9544)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1446 #2D4614
analogous
#141446 #2D1446 #461446
triadic
#2D1446 #462D14 #14462D
tetradic
#2D1446 #461414 #2D4614 #144646
square
#2D1446 #461414 #2D4614 #144646
split-complementary
#2D1446 #464614 #144614
monochromatic
#0F0718 #0F0718 #2D1446 #4C2276 #6A2FA5

Accessibility & contrast

On white

16.15
#2D1446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2D1446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1446
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1446#FFFFFF#000000##FFFFFF
##2D14461.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#062145
Tritanopia (blue-blind)
#281F2A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2d1446;
/* rgb */ color: rgb(45, 20, 70);
/* oklch */ color: oklch(25.7% 0.091 303.6);
Tailwind
colors: {
  custom: {
    50: '#68537a',
    500: '#2d1446',
    950: '#000000',
  },
}
SCSS
$custom: #2d1446;
$custom-light: #68537a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1446",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 70
  },
  "hsl": {
    "h": 270,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2571,
    "c": 0.09055,
    "h": 303.6
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#2D1446
secondary
#5B7E38
accent
#DF4994
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2D1446

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

Preview Lab → · Contrast checker → · Palette generator →

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