#2D192F#2D192F

#2D192F is a dark, muted purple. Relative luminance 0.015; OKLCH L 25.0% C 0.049 H 323.7°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#2D192F
RGBrgb(45, 25, 47)
HSLhsl(295, 31%, 14%)
HSVhsv(295, 47%, 18%)
CMYKcmyk(4.3%, 46.8%, 0%, 81.6%)
CIE-LABlab(12.34, 14.55, -10.64)
CIE-LCHlch(12.34, 18.03, 323.82°)
OKLaboklab(25.02% 0.0396 -0.0291)
OKLCHoklch(25.02% 0.049 323.7)
XYZxyz(1.9429, 1.4585, 2.8679)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D192F #1B2F19
analogous
#22192F #2D192F #2F1926
triadic
#2D192F #2F2D19 #192F2D
tetradic
#2D192F #2F2219 #1B2F19 #19262F
square
#2D192F #2F2219 #1B2F19 #19262F
split-complementary
#2D192F #262F19 #192F22
monochromatic
#130B14 #130B14 #2D192F #532E57 #7A447F

Accessibility & contrast

On white

16.26
#2D192F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D192F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D192F#FFFFFF#000000##FFFFFF
##2D192F1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#1C212E
Tritanopia (blue-blind)
#2E1B21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2d192f;
/* rgb */ color: rgb(45, 25, 47);
/* oklch */ color: oklch(25.0% 0.049 323.7);
Tailwind
colors: {
  custom: {
    50: '#665667',
    500: '#2d192f',
    950: '#000000',
  },
}
SCSS
$custom: #2d192f;
$custom-light: #665667;
$custom-dark: #000000;
JSON
{
  "hex": "#2d192f",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 47
  },
  "hsl": {
    "h": 294.545,
    "s": 30.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2502,
    "c": 0.0491,
    "h": 323.7
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#2D192F
secondary
#446340
accent
#C7616A
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #2D192F

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

Preview Lab → · Contrast checker → · Palette generator →

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