#2A1036#2A1036

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

Color values

HEX#2A1036
RGBrgb(42, 16, 54)
HSLhsl(281, 54%, 14%)
HSVhsv(281, 70%, 21%)
CMYKcmyk(22.2%, 70.4%, 0%, 78.8%)
CIE-LABlab(10.02, 21.25, -19.39)
CIE-LCHlch(10.02, 28.77, 317.61°)
OKLaboklab(23.34% 0.0519 -0.0544)
OKLCHoklch(23.34% 0.075 313.7)
XYZxyz(1.8059, 1.1292, 3.6121)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1036 #1C3610
analogous
#171036 #2A1036 #36102F
triadic
#2A1036 #362A10 #10362A
tetradic
#2A1036 #361710 #1C3610 #102F36
square
#2A1036 #361710 #1C3610 #102F36
split-complementary
#2A1036 #2F3610 #103617
monochromatic
#120718 #120718 #2A1036 #4F1E65 #732C94

Accessibility & contrast

On white

17.13
#2A1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1036
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1036#FFFFFF#000000##FFFFFF
##2A10361.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A37
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#291721
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a1036;
/* rgb */ color: rgb(42, 16, 54);
/* oklch */ color: oklch(23.3% 0.075 313.7);
Tailwind
colors: {
  custom: {
    50: '#65506d',
    500: '#2a1036',
    950: '#000000',
  },
}
SCSS
$custom: #2a1036;
$custom-light: #65506d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1036",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 281.053,
    "s": 54.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23344,
    "c": 0.07521,
    "h": 313.7
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#2A1036
secondary
#467032
accent
#DE4A79
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2A1036

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

Preview Lab → · Contrast checker → · Palette generator →

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