#2A0B44#2A0B44

#2A0B44 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.101 H 304.4°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2A0B44
RGBrgb(42, 11, 68)
HSLhsl(273, 72%, 15%)
HSVhsv(273, 84%, 27%)
CMYKcmyk(38.2%, 83.8%, 0%, 73.3%)
CIE-LABlab(10.17, 27.87, -29.15)
CIE-LCHlch(10.17, 40.33, 313.72°)
OKLaboklab(23.82% 0.0569 -0.083)
OKLCHoklch(23.82% 0.101 304.4)
XYZxyz(2.1177, 1.1489, 5.5779)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B44 #25440B
analogous
#0E0B44 #2A0B44 #440B41
triadic
#2A0B44 #442A0B #0B442A
tetradic
#2A0B44 #440E0B #25440B #0B4144
square
#2A0B44 #440E0B #25440B #0B4144
split-complementary
#2A0B44 #41440B #0B440E
monochromatic
#10041A #10041A #2A0B44 #4B1479 #6B1CAD

Accessibility & contrast

On white

17.08
#2A0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A0B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0B44
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B44#FFFFFF#000000##FFFFFF
##2A0B441.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#251927
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a0b44;
/* rgb */ color: rgb(42, 11, 68);
/* oklch */ color: oklch(23.8% 0.101 304.4);
Tailwind
colors: {
  custom: {
    50: '#674d78',
    500: '#2a0b44',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b44;
$custom-light: #674d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b44",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 272.632,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23818,
    "c": 0.1006,
    "h": 304.4
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#2A0B44
secondary
#52812A
accent
#EF398C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2A0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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