#2A1144#2A1144

#2A1144 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.092 H 302.6°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2A1144
RGBrgb(42, 17, 68)
HSLhsl(269, 60%, 17%)
HSVhsv(269, 75%, 27%)
CMYKcmyk(38.2%, 75%, 0%, 73.3%)
CIE-LABlab(11.35, 24.58, -27.25)
CIE-LCHlch(11.35, 36.69, 312.05°)
OKLaboklab(24.65% 0.0496 -0.0774)
OKLCHoklch(24.65% 0.092 302.6)
XYZxyz(2.1984, 1.3105, 5.6049)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1144 #2B4411
analogous
#111244 #2A1144 #441144
triadic
#2A1144 #442A11 #11442A
tetradic
#2A1144 #441112 #2B4411 #114444
square
#2A1144 #441112 #2B4411 #114444
split-complementary
#2A1144 #444411 #124411
monochromatic
#0F0618 #0F0618 #2A1144 #481D75 #6629A6

Accessibility & contrast

On white

16.64
#2A1144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2A1144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1144
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1144#FFFFFF#000000##FFFFFF
##2A11441.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#251C28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2a1144;
/* rgb */ color: rgb(42, 17, 68);
/* oklch */ color: oklch(24.7% 0.092 302.6);
Tailwind
colors: {
  custom: {
    50: '#665178',
    500: '#2a1144',
    950: '#000000',
  },
}
SCSS
$custom: #2a1144;
$custom-light: #665178;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1144",
  "rgb": {
    "r": 42,
    "g": 17,
    "b": 68
  },
  "hsl": {
    "h": 269.412,
    "s": 60,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24653,
    "c": 0.09196,
    "h": 302.6
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#2A1144
secondary
#597E33
accent
#E34595
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2A1144

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

Preview Lab → · Contrast checker → · Palette generator →

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