#2A1035#2A1035

#2A1035 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.074 H 314.6°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#2A1035
RGBrgb(42, 16, 53)
HSLhsl(282, 54%, 14%)
HSVhsv(282, 70%, 21%)
CMYKcmyk(20.8%, 69.8%, 0%, 79.2%)
CIE-LABlab(9.95, 20.98, -18.78)
CIE-LCHlch(9.95, 28.16, 318.16°)
OKLaboklab(23.27% 0.0519 -0.0526)
OKLCHoklch(23.27% 0.074 314.6)
XYZxyz(1.7826, 1.1199, 3.4897)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1035 #1B3510
analogous
#171035 #2A1035 #35102D
triadic
#2A1035 #352A10 #10352A
tetradic
#2A1035 #351710 #1B3510 #102D35
square
#2A1035 #351710 #1B3510 #102D35
split-complementary
#2A1035 #2D3510 #103517
monochromatic
#130718 #130718 #2A1035 #4F1E64 #752C93

Accessibility & contrast

On white

17.16
#2A1035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2A1035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1035
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1035#FFFFFF#000000##FFFFFF
##2A10351.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061A36
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#291620
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a1035;
/* rgb */ color: rgb(42, 16, 53);
/* oklch */ color: oklch(23.3% 0.074 314.6);
Tailwind
colors: {
  custom: {
    50: '#65506c',
    500: '#2a1035',
    950: '#000000',
  },
}
SCSS
$custom: #2a1035;
$custom-light: #65506c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1035",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 282.162,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23268,
    "c": 0.07391,
    "h": 314.6
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#2A1035
secondary
#446F32
accent
#DD4B76
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2A1035

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

Preview Lab → · Contrast checker → · Palette generator →

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