#2A0E34#2A0E34

#2A0E34 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 22.9% C 0.076 H 316.1°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#2A0E34
RGBrgb(42, 14, 52)
HSLhsl(284, 58%, 13%)
HSVhsv(284, 73%, 20%)
CMYKcmyk(19.2%, 73.1%, 0%, 79.6%)
CIE-LABlab(9.44, 21.93, -18.88)
CIE-LCHlch(9.44, 28.94, 319.27°)
OKLaboklab(22.87% 0.055 -0.0529)
OKLCHoklch(22.87% 0.076 316.1)
XYZxyz(1.7316, 1.0543, 3.3604)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E34 #18340E
analogous
#170E34 #2A0E34 #340E2B
triadic
#2A0E34 #342A0E #0E342A
tetradic
#2A0E34 #34170E #18340E #0E2B34
square
#2A0E34 #34170E #18340E #0E2B34
split-complementary
#2A0E34 #2B340E #0E3417
monochromatic
#130618 #130618 #2A0E34 #511B64 #782894

Accessibility & contrast

On white

17.34
#2A0E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0E34
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E34#FFFFFF#000000##FFFFFF
##2A0E341.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041935
Deuteranopia (green-blind)
#0E1B33
Tritanopia (blue-blind)
#29151F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0e34;
/* rgb */ color: rgb(42, 14, 52);
/* oklch */ color: oklch(22.9% 0.076 316.1);
Tailwind
colors: {
  custom: {
    50: '#654e6b',
    500: '#2a0e34',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e34;
$custom-light: #654e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e34",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 284.211,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22869,
    "c": 0.0763,
    "h": 316.1
  },
  "luminance": 0.01054
}

Semantic roles & 50–950 ramp

primary
#2A0E34
secondary
#406F2F
accent
#E1476F
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2A0E34

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

Preview Lab → · Contrast checker → · Palette generator →

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