#2A1441#2A1441

#2A1441 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.083 H 303.4°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#2A1441
RGBrgb(42, 20, 65)
HSLhsl(269, 53%, 17%)
HSVhsv(269, 69%, 25%)
CMYKcmyk(35.4%, 69.2%, 0%, 74.5%)
CIE-LABlab(11.78, 21.84, -24.43)
CIE-LCHlch(11.78, 32.77, 311.79°)
OKLaboklab(24.89% 0.0457 -0.0692)
OKLCHoklch(24.89% 0.083 303.4)
XYZxyz(2.1589, 1.3742, 5.1515)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1441 #2B4114
analogous
#141541 #2A1441 #411441
triadic
#2A1441 #412A14 #14412A
tetradic
#2A1441 #411415 #2B4114 #144141
square
#2A1441 #411415 #2B4114 #144141
split-complementary
#2A1441 #414114 #154114
monochromatic
#0F0717 #0F0717 #2A1441 #482270 #66319F

Accessibility & contrast

On white

16.47
#2A1441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2A1441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1441
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1441#FFFFFF#000000##FFFFFF
##2A14411.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F42
Deuteranopia (green-blind)
#081F40
Tritanopia (blue-blind)
#261D28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2a1441;
/* rgb */ color: rgb(42, 20, 65);
/* oklch */ color: oklch(24.9% 0.083 303.4);
Tailwind
colors: {
  custom: {
    50: '#665376',
    500: '#2a1441',
    950: '#000000',
  },
}
SCSS
$custom: #2a1441;
$custom-light: #665376;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1441",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 65
  },
  "hsl": {
    "h": 269.333,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2489,
    "c": 0.0829,
    "h": 303.4
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#2A1441
secondary
#597938
accent
#DC4B96
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2A1441

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

Preview Lab → · Contrast checker → · Palette generator →

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