#2A0941#2A0941

#2A0941 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.100 H 306.9°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2A0941
RGBrgb(42, 9, 65)
HSLhsl(275, 76%, 15%)
HSVhsv(275, 86%, 25%)
CMYKcmyk(35.4%, 86.2%, 0%, 74.5%)
CIE-LABlab(9.56, 28.03, -28.04)
CIE-LCHlch(9.56, 39.65, 315.00°)
OKLaboklab(23.3% 0.0598 -0.0797)
OKLCHoklch(23.3% 0.1 306.9)
XYZxyz(2.0065, 1.0693, 5.1007)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0941 #204109
analogous
#0E0941 #2A0941 #41093C
triadic
#2A0941 #412A09 #09412A
tetradic
#2A0941 #410E09 #204109 #093C41
square
#2A0941 #410E09 #204109 #093C41
split-complementary
#2A0941 #3C4109 #09410E
monochromatic
#11041B #11041B #2A0941 #4D1077 #6F18AD

Accessibility & contrast

On white

17.30
#2A0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A0941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0941
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0941#FFFFFF#000000##FFFFFF
##2A09411.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#261724
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a0941;
/* rgb */ color: rgb(42, 9, 65);
/* oklch */ color: oklch(23.3% 0.100 306.9);
Tailwind
colors: {
  custom: {
    50: '#674c76',
    500: '#2a0941',
    950: '#000000',
  },
}
SCSS
$custom: #2a0941;
$custom-light: #674c76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0941",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 275.357,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23295,
    "c": 0.09965,
    "h": 306.9
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#2A0941
secondary
#4B7F27
accent
#F23683
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A0941

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

Preview Lab → · Contrast checker → · Palette generator →

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