#2A0330#2A0330

#2A0330 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.091 H 322.1°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#2A0330
RGBrgb(42, 3, 48)
HSLhsl(292, 88%, 10%)
HSVhsv(292, 94%, 19%)
CMYKcmyk(12.5%, 93.8%, 0%, 81.2%)
CIE-LABlab(6.96, 27.02, -19.89)
CIE-LCHlch(6.96, 33.55, 323.64°)
OKLaboklab(20.97% 0.0718 -0.056)
OKLCHoklch(20.97% 0.091 322.1)
XYZxyz(1.5209, 0.7709, 2.8644)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0330 #093003
analogous
#140330 #2A0330 #30031F
triadic
#2A0330 #302A03 #03302A
tetradic
#2A0330 #301403 #093003 #031F30
square
#2A0330 #301403 #093003 #031F30
split-complementary
#2A0330 #1F3003 #033014
monochromatic
#19021D #19021D #2A0330 #5C076A #8F0AA3

Accessibility & contrast

On white

18.19
#2A0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2A0330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0330
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0330#FFFFFF#000000##FFFFFF
##2A03301.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#08172F
Tritanopia (blue-blind)
#2B0B19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2a0330;
/* rgb */ color: rgb(42, 3, 48);
/* oklch */ color: oklch(21.0% 0.091 322.1);
Tailwind
colors: {
  custom: {
    50: '#664868',
    500: '#2a0330',
    950: '#000000',
  },
}
SCSS
$custom: #2a0330;
$custom-light: #664868;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0330",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 292,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20968,
    "c": 0.09106,
    "h": 322.1
  },
  "luminance": 0.00771
}

Semantic roles & 50–950 ramp

primary
#2A0330
secondary
#27731B
accent
#FE2946
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2A0330

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

Preview Lab → · Contrast checker → · Palette generator →

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