#2A0B41#2A0B41

#2A0B41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.097 H 306.4°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2A0B41
RGBrgb(42, 11, 65)
HSLhsl(274, 71%, 15%)
HSVhsv(274, 83%, 25%)
CMYKcmyk(35.4%, 83.1%, 0%, 74.5%)
CIE-LABlab(9.90, 27.04, -27.47)
CIE-LCHlch(9.90, 38.55, 314.55°)
OKLaboklab(23.54% 0.0576 -0.0781)
OKLCHoklch(23.54% 0.097 306.4)
XYZxyz(2.0284, 1.1133, 5.1080)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B41 #22410B
analogous
#0F0B41 #2A0B41 #410B3D
triadic
#2A0B41 #412A0B #0B412A
tetradic
#2A0B41 #410F0B #22410B #0B3D41
square
#2A0B41 #410F0B #22410B #0B3D41
split-complementary
#2A0B41 #3D410B #0B410F
monochromatic
#11041A #11041A #2A0B41 #4C1475 #6E1DAA

Accessibility & contrast

On white

17.18
#2A0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B41
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B41#FFFFFF#000000##FFFFFF
##2A0B411.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a0b41;
/* rgb */ color: rgb(42, 11, 65);
/* oklch */ color: oklch(23.5% 0.097 306.4);
Tailwind
colors: {
  custom: {
    50: '#664d76',
    500: '#2a0b41',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b41;
$custom-light: #664d76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b41",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 274.444,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23539,
    "c": 0.097,
    "h": 306.4
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#2A0B41
secondary
#4E7E2A
accent
#EE3A87
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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