#2A0328#2A0328

#2A0328 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.3% C 0.084 H 330.4°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#2A0328
RGBrgb(42, 3, 40)
HSLhsl(303, 87%, 9%)
HSVhsv(303, 93%, 16%)
CMYKcmyk(0%, 92.9%, 4.8%, 83.5%)
CIE-LABlab(6.42, 25.06, -14.74)
CIE-LCHlch(6.42, 29.07, 329.53°)
OKLaboklab(20.34% 0.0726 -0.0413)
OKLCHoklch(20.34% 0.084 330.4)
XYZxyz(1.3704, 0.7107, 2.0721)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0328 #032A05
analogous
#19032A #2A0328 #2A0315
triadic
#2A0328 #282A03 #03282A
tetradic
#2A0328 #2A1903 #032A05 #03152A
square
#2A0328 #2A1903 #032A05 #03152A
split-complementary
#2A0328 #152A03 #032A19
monochromatic
#1D021B #1D021B #2A0328 #63075E #9C0B95

Accessibility & contrast

On white

18.39
#2A0328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2A0328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0328
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0328#FFFFFF#000000##FFFFFF
##2A03281.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001129
Deuteranopia (green-blind)
#0E1627
Tritanopia (blue-blind)
#2C0714
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2a0328;
/* rgb */ color: rgb(42, 3, 40);
/* oklch */ color: oklch(20.3% 0.084 330.4);
Tailwind
colors: {
  custom: {
    50: '#654862',
    500: '#2a0328',
    950: '#000000',
  },
}
SCSS
$custom: #2a0328;
$custom-light: #654862;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0328",
  "rgb": {
    "r": 42,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 303.077,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20338,
    "c": 0.0835,
    "h": 330.4
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#2A0328
secondary
#1B6E1F
accent
#FD362B
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#060005
muted
#7A7779

Preview Lab

Preview with #2A0328

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

Preview Lab → · Contrast checker → · Palette generator →

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