#2A1444#2A1444

#2A1444 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.087 H 301.5°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#2A1444
RGBrgb(42, 20, 68)
HSLhsl(268, 55%, 17%)
HSVhsv(268, 71%, 27%)
CMYKcmyk(38.2%, 70.6%, 0%, 73.3%)
CIE-LABlab(12.02, 22.73, -26.16)
CIE-LCHlch(12.02, 34.66, 311.00°)
OKLaboklab(25.14% 0.0455 -0.0742)
OKLCHoklch(25.14% 0.087 301.5)
XYZxyz(2.2481, 1.4099, 5.6214)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1444 #2E4414
analogous
#141644 #2A1444 #421444
triadic
#2A1444 #442A14 #14442A
tetradic
#2A1444 #441416 #2E4414 #144442
square
#2A1444 #441416 #2E4414 #144442
split-complementary
#2A1444 #444214 #164414
monochromatic
#0F0718 #0F0718 #2A1444 #472273 #6430A3

Accessibility & contrast

On white

16.38
#2A1444 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2A1444 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1444
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1444#FFFFFF#000000##FFFFFF
##2A14441.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#041F43
Tritanopia (blue-blind)
#251E29
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2a1444;
/* rgb */ color: rgb(42, 20, 68);
/* oklch */ color: oklch(25.1% 0.087 301.5);
Tailwind
colors: {
  custom: {
    50: '#665378',
    500: '#2a1444',
    950: '#000000',
  },
}
SCSS
$custom: #2a1444;
$custom-light: #665378;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1444",
  "rgb": {
    "r": 42,
    "g": 20,
    "b": 68
  },
  "hsl": {
    "h": 267.5,
    "s": 54.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25139,
    "c": 0.08707,
    "h": 301.5
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#2A1444
secondary
#5D7C38
accent
#DE4A9A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A1444

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

Preview Lab → · Contrast checker → · Palette generator →

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