#2A182E#2A182E

#2A182E is a very dark, muted purple. Relative luminance 0.013; OKLCH L 24.3% C 0.048 H 320.2°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#2A182E
RGBrgb(42, 24, 46)
HSLhsl(289, 31%, 14%)
HSVhsv(289, 48%, 18%)
CMYKcmyk(8.7%, 47.8%, 0%, 82%)
CIE-LABlab(11.57, 13.80, -11.14)
CIE-LCHlch(11.57, 17.74, 321.09°)
OKLaboklab(24.33% 0.0367 -0.0306)
OKLCHoklch(24.33% 0.048 320.2)
XYZxyz(1.7746, 1.3428, 2.7500)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A182E #1C2E18
analogous
#1F182E #2A182E #2E1827
triadic
#2A182E #2E2A18 #182E2A
tetradic
#2A182E #2E1F18 #1C2E18 #18272E
square
#2A182E #2E1F18 #1C2E18 #18272E
split-complementary
#2A182E #272E18 #182E1F
monochromatic
#120A14 #120A14 #2A182E #4F2D56 #73427E

Accessibility & contrast

On white

16.55
#2A182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A182E
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A182E#FFFFFF#000000##FFFFFF
##2A182E1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151D2F
Deuteranopia (green-blind)
#1A1F2D
Tritanopia (blue-blind)
#2A1B20
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a182e;
/* rgb */ color: rgb(42, 24, 46);
/* oklch */ color: oklch(24.3% 0.048 320.2);
Tailwind
colors: {
  custom: {
    50: '#645566',
    500: '#2a182e',
    950: '#000000',
  },
}
SCSS
$custom: #2a182e;
$custom-light: #645566;
$custom-dark: #000000;
JSON
{
  "hex": "#2a182e",
  "rgb": {
    "r": 42,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 289.091,
    "s": 31.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24326,
    "c": 0.04773,
    "h": 320.2
  },
  "luminance": 0.01343
}

Semantic roles & 50–950 ramp

primary
#2A182E
secondary
#46633F
accent
#C86073
background
#F6F4F6
surface
#EBE8EB
border
#C6C4C6
text
#050306
muted
#7A787A

Preview Lab

Preview with #2A182E

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

Preview Lab → · Contrast checker → · Palette generator →

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