#2A1E30#2A1E30

#2A1E30 is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.8% C 0.037 H 314.1°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#2A1E30
RGBrgb(42, 30, 48)
HSLhsl(280, 23%, 15%)
HSVhsv(280, 38%, 19%)
CMYKcmyk(12.5%, 37.5%, 0%, 81.2%)
CIE-LABlab(13.44, 10.05, -9.71)
CIE-LCHlch(13.44, 13.98, 316.00°)
OKLaboklab(25.77% 0.0258 -0.0266)
OKLCHoklch(25.77% 0.037 314.1)
XYZxyz(1.9525, 1.6342, 3.0083)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1E30 #24301E
analogous
#211E30 #2A1E30 #301E2D
triadic
#2A1E30 #302A1E #1E302A
tetradic
#2A1E30 #30211E #24301E #1E2D30
square
#2A1E30 #30211E #24301E #1E2D30
split-complementary
#2A1E30 #2D301E #1E3021
monochromatic
#100C13 #100C13 #2A1E30 #4B3656 #6C4D7B

Accessibility & contrast

On white

15.83
#2A1E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2A1E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1E30
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1E30#FFFFFF#000000##FFFFFF
##2A1E301.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2231
Deuteranopia (green-blind)
#1E232F
Tritanopia (blue-blind)
#2A2024
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2a1e30;
/* rgb */ color: rgb(42, 30, 48);
/* oklch */ color: oklch(25.8% 0.037 314.1);
Tailwind
colors: {
  custom: {
    50: '#635968',
    500: '#2a1e30',
    950: '#000000',
  },
}
SCSS
$custom: #2a1e30;
$custom-light: #635968;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1e30",
  "rgb": {
    "r": 42,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 280,
    "s": 23.077,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25774,
    "c": 0.03699,
    "h": 314.1
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#2A1E30
secondary
#506347
accent
#C06885
background
#F5F5F6
surface
#EAE9EB
border
#C6C5C6
text
#050306
muted
#79787A

Preview Lab

Preview with #2A1E30

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

Preview Lab → · Contrast checker → · Palette generator →

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