#2A1435#2A1435

#2A1435 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.0% C 0.066 H 313.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2A1435
RGBrgb(42, 20, 53)
HSLhsl(280, 45%, 14%)
HSVhsv(280, 62%, 21%)
CMYKcmyk(20.8%, 62.3%, 0%, 79.2%)
CIE-LABlab(10.92, 18.41, -17.25)
CIE-LCHlch(10.92, 25.23, 316.86°)
OKLaboklab(23.98% 0.0453 -0.0482)
OKLCHoklch(23.98% 0.066 313.2)
XYZxyz(1.8475, 1.2496, 3.5114)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1435 #1F3514
analogous
#1A1435 #2A1435 #351430
triadic
#2A1435 #352A14 #14352A
tetradic
#2A1435 #351A14 #1F3514 #143035
square
#2A1435 #351A14 #1F3514 #143035
split-complementary
#2A1435 #303514 #14351A
monochromatic
#120816 #120816 #2A1435 #4D2561 #70368E

Accessibility & contrast

On white

16.80
#2A1435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2A1435 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1435
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1435#FFFFFF#000000##FFFFFF
##2A14351.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1C36
Deuteranopia (green-blind)
#131E34
Tritanopia (blue-blind)
#291922
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2a1435;
/* rgb */ color: rgb(42, 20, 53);
/* oklch */ color: oklch(24.0% 0.066 313.2);
Tailwind
colors: {
  custom: {
    50: '#65526c',
    500: '#2a1435',
    950: '#000000',
  },
}
SCSS
$custom: #2a1435;
$custom-light: #65526c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1435",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 53
  },
  "hsl": {
    "h": 280,
    "s": 45.205,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23977,
    "c": 0.06612,
    "h": 313.2
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#2A1435
secondary
#4A6C38
accent
#D5537E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #2A1435

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

Preview Lab → · Contrast checker → · Palette generator →

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