#2A0944#2A0944

#2A0944 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.103 H 304.9°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#2A0944
RGBrgb(42, 9, 68)
HSLhsl(274, 77%, 15%)
HSVhsv(274, 87%, 27%)
CMYKcmyk(38.2%, 86.8%, 0%, 73.3%)
CIE-LABlab(9.84, 28.84, -29.70)
CIE-LCHlch(9.84, 41.40, 314.16°)
OKLaboklab(23.58% 0.059 -0.0846)
OKLCHoklch(23.58% 0.103 304.9)
XYZxyz(2.0957, 1.1050, 5.5706)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0944 #234409
analogous
#0C0944 #2A0944 #440941
triadic
#2A0944 #442A09 #09442A
tetradic
#2A0944 #440C09 #234409 #094144
square
#2A0944 #440C09 #234409 #094144
split-complementary
#2A0944 #414409 #09440C
monochromatic
#11041B #11041B #2A0944 #4B107A #6D17B0

Accessibility & contrast

On white

17.20
#2A0944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2A0944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0944
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0944#FFFFFF#000000##FFFFFF
##2A09441.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#251826
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0944;
/* rgb */ color: rgb(42, 9, 68);
/* oklch */ color: oklch(23.6% 0.103 304.9);
Tailwind
colors: {
  custom: {
    50: '#674c78',
    500: '#2a0944',
    950: '#000000',
  },
}
SCSS
$custom: #2a0944;
$custom-light: #674c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0944",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 273.559,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2358,
    "c": 0.10313,
    "h": 304.9
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#2A0944
secondary
#4F8227
accent
#F33589
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2A0944

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

Preview Lab → · Contrast checker → · Palette generator →

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