#2A0441#2A0441

#2A0441 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.107 H 308.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2A0441
RGBrgb(42, 4, 65)
HSLhsl(277, 88%, 14%)
HSVhsv(277, 94%, 25%)
CMYKcmyk(35.4%, 93.8%, 0%, 74.5%)
CIE-LABlab(8.66, 30.63, -29.49)
CIE-LCHlch(8.66, 42.52, 316.09°)
OKLaboklab(22.67% 0.0657 -0.0839)
OKLCHoklch(22.67% 0.107 308)
XYZxyz(1.9522, 0.9608, 5.0826)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0441 #1B4104
analogous
#0B0441 #2A0441 #410439
triadic
#2A0441 #412A04 #04412A
tetradic
#2A0441 #410B04 #1B4104 #043941
square
#2A0441 #410B04 #1B4104 #043941
split-complementary
#2A0441 #394104 #04410B
monochromatic
#13021D #13021D #2A0441 #4F087B #750BB4

Accessibility & contrast

On white

17.61
#2A0441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A0441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0441
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0441#FFFFFF#000000##FFFFFF
##2A04411.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#261423
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a0441;
/* rgb */ color: rgb(42, 4, 65);
/* oklch */ color: oklch(22.7% 0.107 308.0);
Tailwind
colors: {
  custom: {
    50: '#674a76',
    500: '#2a0441',
    950: '#000000',
  },
}
SCSS
$custom: #2a0441;
$custom-light: #674a76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0441",
  "rgb": {
    "r": 42,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 277.377,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2267,
    "c": 0.10659,
    "h": 308
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#2A0441
secondary
#44821F
accent
#FF297A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A0441

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

Preview Lab → · Contrast checker → · Palette generator →

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