#2A0A41#2A0A41

#2A0A41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.098 H 306.6°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#2A0A41
RGBrgb(42, 10, 65)
HSLhsl(275, 73%, 15%)
HSVhsv(275, 85%, 25%)
CMYKcmyk(35.4%, 84.6%, 0%, 74.5%)
CIE-LABlab(9.73, 27.54, -27.76)
CIE-LCHlch(9.73, 39.10, 314.78°)
OKLaboklab(23.42% 0.0587 -0.0789)
OKLCHoklch(23.42% 0.098 306.6)
XYZxyz(2.0173, 1.0910, 5.1043)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A41 #21410A
analogous
#0F0A41 #2A0A41 #410A3D
triadic
#2A0A41 #412A0A #0A412A
tetradic
#2A0A41 #410F0A #21410A #0A3D41
square
#2A0A41 #410F0A #21410A #0A3D41
split-complementary
#2A0A41 #3D410A #0A410F
monochromatic
#11041B #11041B #2A0A41 #4C1276 #6F1AAB

Accessibility & contrast

On white

17.24
#2A0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0A41
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A41#FFFFFF#000000##FFFFFF
##2A0A411.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0a41;
/* rgb */ color: rgb(42, 10, 65);
/* oklch */ color: oklch(23.4% 0.098 306.6);
Tailwind
colors: {
  custom: {
    50: '#674d76',
    500: '#2a0a41',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a41;
$custom-light: #674d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a41",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 274.909,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23416,
    "c": 0.09833,
    "h": 306.6
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#2A0A41
secondary
#4C7E29
accent
#F03885
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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