#2D143E#2D143E

#2D143E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.080 H 309.3°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#2D143E
RGBrgb(45, 20, 62)
HSLhsl(276, 51%, 16%)
HSVhsv(276, 68%, 24%)
CMYKcmyk(27.4%, 67.7%, 0%, 75.7%)
CIE-LABlab(12.00, 21.85, -21.95)
CIE-LCHlch(12.00, 30.97, 314.88°)
OKLaboklab(25.07% 0.0505 -0.0618)
OKLCHoklch(25.07% 0.08 309.3)
XYZxyz(2.2017, 1.4060, 4.7119)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D143E #253E14
analogous
#18143E #2D143E #3E143A
triadic
#2D143E #3E2D14 #143E2D
tetradic
#2D143E #3E1814 #253E14 #143A3E
square
#2D143E #3E1814 #253E14 #143A3E
split-complementary
#2D143E #3A3E14 #143E18
monochromatic
#110717 #110717 #2D143E #4F236C #70329B

Accessibility & contrast

On white

16.39
#2D143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2D143E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D143E
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D143E#FFFFFF#000000##FFFFFF
##2D143E1.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3F
Deuteranopia (green-blind)
#0F203D
Tritanopia (blue-blind)
#2B1C26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2d143e;
/* rgb */ color: rgb(45, 20, 62);
/* oklch */ color: oklch(25.1% 0.080 309.3);
Tailwind
colors: {
  custom: {
    50: '#685373',
    500: '#2d143e',
    950: '#000000',
  },
}
SCSS
$custom: #2d143e;
$custom-light: #685373;
$custom-dark: #000000;
JSON
{
  "hex": "#2d143e",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 275.714,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25069,
    "c": 0.07978,
    "h": 309.3
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#2D143E
secondary
#517638
accent
#DB4D86
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2D143E

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

Preview Lab → · Contrast checker → · Palette generator →

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