#2A0E36#2A0E36

#2A0E36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.079 H 314.2°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2A0E36
RGBrgb(42, 14, 54)
HSLhsl(282, 59%, 13%)
HSVhsv(282, 74%, 21%)
CMYKcmyk(22.2%, 74.1%, 0%, 78.8%)
CIE-LABlab(9.58, 22.45, -20.10)
CIE-LCHlch(9.58, 30.13, 318.16°)
OKLaboklab(23.02% 0.055 -0.0564)
OKLCHoklch(23.02% 0.079 314.2)
XYZxyz(1.7776, 1.0727, 3.6027)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E36 #1A360E
analogous
#160E36 #2A0E36 #360E2E
triadic
#2A0E36 #362A0E #0E362A
tetradic
#2A0E36 #36160E #1A360E #0E2E36
square
#2A0E36 #36160E #1A360E #0E2E36
split-complementary
#2A0E36 #2E360E #0E3616
monochromatic
#130618 #130618 #2A0E36 #501B67 #762797

Accessibility & contrast

On white

17.29
#2A0E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0E36
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E36#FFFFFF#000000##FFFFFF
##2A0E361.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#0D1B35
Tritanopia (blue-blind)
#291520
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0e36;
/* rgb */ color: rgb(42, 14, 54);
/* oklch */ color: oklch(23.0% 0.079 314.2);
Tailwind
colors: {
  custom: {
    50: '#654e6d',
    500: '#2a0e36',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e36;
$custom-light: #654e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e36",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 282,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23023,
    "c": 0.07881,
    "h": 314.2
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#2A0E36
secondary
#43712F
accent
#E24675
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2A0E36

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

Preview Lab → · Contrast checker → · Palette generator →

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