#2A192E#2A192E

#2A192E is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.5% C 0.045 H 319.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#2A192E
RGBrgb(42, 25, 46)
HSLhsl(289, 30%, 14%)
HSVhsv(289, 46%, 18%)
CMYKcmyk(8.7%, 45.7%, 0%, 82%)
CIE-LABlab(11.86, 13.10, -10.70)
CIE-LCHlch(11.86, 16.91, 320.75°)
OKLaboklab(24.54% 0.0347 -0.0293)
OKLCHoklch(24.54% 0.045 319.8)
XYZxyz(1.7956, 1.3848, 2.7569)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A192E #1D2E19
analogous
#20192E #2A192E #2E1928
triadic
#2A192E #2E2A19 #192E2A
tetradic
#2A192E #2E2019 #1D2E19 #19282E
square
#2A192E #2E2019 #1D2E19 #19282E
split-complementary
#2A192E #282E19 #192E20
monochromatic
#120B14 #120B14 #2A192E #4E2F56 #72447D

Accessibility & contrast

On white

16.44
#2A192E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A192E
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A192E#FFFFFF#000000##FFFFFF
##2A192E1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161E2F
Deuteranopia (green-blind)
#1B202D
Tritanopia (blue-blind)
#2A1B21
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a192e;
/* rgb */ color: rgb(42, 25, 46);
/* oklch */ color: oklch(24.5% 0.045 319.8);
Tailwind
colors: {
  custom: {
    50: '#645666',
    500: '#2a192e',
    950: '#000000',
  },
}
SCSS
$custom: #2a192e;
$custom-light: #645666;
$custom-dark: #000000;
JSON
{
  "hex": "#2a192e",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 46
  },
  "hsl": {
    "h": 288.571,
    "s": 29.577,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24541,
    "c": 0.04546,
    "h": 319.8
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#2A192E
secondary
#476241
accent
#C66275
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#050306
muted
#7A787A

Preview Lab

Preview with #2A192E

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

Preview Lab → · Contrast checker → · Palette generator →

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