#2A1135#2A1135

#2A1135 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.072 H 314.3°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#2A1135
RGBrgb(42, 17, 53)
HSLhsl(282, 51%, 14%)
HSVhsv(282, 68%, 21%)
CMYKcmyk(20.8%, 67.9%, 0%, 79.2%)
CIE-LABlab(10.18, 20.36, -18.41)
CIE-LCHlch(10.18, 27.45, 317.87°)
OKLaboklab(23.44% 0.0503 -0.0515)
OKLCHoklch(23.44% 0.072 314.3)
XYZxyz(1.7978, 1.1502, 3.4948)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1135 #1C3511
analogous
#181135 #2A1135 #35112E
triadic
#2A1135 #352A11 #11352A
tetradic
#2A1135 #351811 #1C3511 #112E35
square
#2A1135 #351811 #1C3511 #112E35
split-complementary
#2A1135 #2E3511 #113518
monochromatic
#120717 #120717 #2A1135 #4F2063 #732F92

Accessibility & contrast

On white

17.07
#2A1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A1135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1135
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1135#FFFFFF#000000##FFFFFF
##2A11351.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A36
Deuteranopia (green-blind)
#101C34
Tritanopia (blue-blind)
#291720
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a1135;
/* rgb */ color: rgb(42, 17, 53);
/* oklch */ color: oklch(23.4% 0.072 314.3);
Tailwind
colors: {
  custom: {
    50: '#65506c',
    500: '#2a1135',
    950: '#000000',
  },
}
SCSS
$custom: #2a1135;
$custom-light: #65506c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1135",
  "rgb": {
    "r": 42,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 281.667,
    "s": 51.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23438,
    "c": 0.07201,
    "h": 314.3
  },
  "luminance": 0.0115
}

Semantic roles & 50–950 ramp

primary
#2A1135
secondary
#466E34
accent
#DB4D78
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2A1135

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

Preview Lab → · Contrast checker → · Palette generator →

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