#2A0E33#2A0E33

#2A0E33 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.075 H 317.1°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#2A0E33
RGBrgb(42, 14, 51)
HSLhsl(285, 57%, 13%)
HSVhsv(285, 73%, 20%)
CMYKcmyk(17.6%, 72.5%, 0%, 80%)
CIE-LABlab(9.36, 21.67, -18.26)
CIE-LCHlch(9.36, 28.34, 319.87°)
OKLaboklab(22.79% 0.055 -0.0511)
OKLCHoklch(22.79% 0.075 317.1)
XYZxyz(1.7093, 1.0454, 3.2431)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0E33 #17330E
analogous
#170E33 #2A0E33 #330E29
triadic
#2A0E33 #332A0E #0E332A
tetradic
#2A0E33 #33170E #17330E #0E2933
square
#2A0E33 #33170E #17330E #0E2933
split-complementary
#2A0E33 #29330E #0E3317
monochromatic
#140718 #140718 #2A0E33 #521B63 #792893

Accessibility & contrast

On white

17.37
#2A0E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0E33
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0E33#FFFFFF#000000##FFFFFF
##2A0E331.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051834
Deuteranopia (green-blind)
#0F1B32
Tritanopia (blue-blind)
#2A141E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0e33;
/* rgb */ color: rgb(42, 14, 51);
/* oklch */ color: oklch(22.8% 0.075 317.1);
Tailwind
colors: {
  custom: {
    50: '#654e6b',
    500: '#2a0e33',
    950: '#000000',
  },
}
SCSS
$custom: #2a0e33;
$custom-light: #654e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0e33",
  "rgb": {
    "r": 42,
    "g": 14,
    "b": 51
  },
  "hsl": {
    "h": 285.405,
    "s": 56.923,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22794,
    "c": 0.07507,
    "h": 317.1
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#2A0E33
secondary
#3E6E2F
accent
#E0486D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #2A0E33

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

Preview Lab → · Contrast checker → · Palette generator →

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