#2D143A#2D143A

#2D143A is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.074 H 312.6°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#2D143A
RGBrgb(45, 20, 58)
HSLhsl(279, 49%, 15%)
HSVhsv(279, 66%, 23%)
CMYKcmyk(22.4%, 65.5%, 0%, 77.3%)
CIE-LABlab(11.71, 20.75, -19.55)
CIE-LCHlch(11.71, 28.51, 316.71°)
OKLaboklab(24.77% 0.0504 -0.0548)
OKLCHoklch(24.77% 0.074 312.6)
XYZxyz(2.0959, 1.3637, 4.1550)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D143A #213A14
analogous
#1A143A #2D143A #3A1434
triadic
#2D143A #3A2D14 #143A2D
tetradic
#2D143A #3A1A14 #213A14 #14343A
square
#2D143A #3A1A14 #213A14 #14343A
split-complementary
#2D143A #343A14 #143A1A
monochromatic
#120817 #120817 #2D143A #502468 #743395

Accessibility & contrast

On white

16.50
#2D143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2D143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D143A
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D143A#FFFFFF#000000##FFFFFF
##2D143A1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091E3B
Deuteranopia (green-blind)
#121F39
Tritanopia (blue-blind)
#2C1B24
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d143a;
/* rgb */ color: rgb(45, 20, 58);
/* oklch */ color: oklch(24.8% 0.074 312.6);
Tailwind
colors: {
  custom: {
    50: '#675370',
    500: '#2d143a',
    950: '#000000',
  },
}
SCSS
$custom: #2d143a;
$custom-light: #675370;
$custom-dark: #000000;
JSON
{
  "hex": "#2d143a",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 279.474,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2477,
    "c": 0.0744,
    "h": 312.6
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#2D143A
secondary
#4C7238
accent
#D8507E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2D143A

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

Preview Lab → · Contrast checker → · Palette generator →

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