#2A0A49#2A0A49

#2A0A49 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.108 H 301.6°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#2A0A49
RGBrgb(42, 10, 73)
HSLhsl(270, 76%, 16%)
HSVhsv(270, 86%, 29%)
CMYKcmyk(42.5%, 86.3%, 0%, 71.4%)
CIE-LABlab(10.49, 29.73, -32.15)
CIE-LCHlch(10.49, 43.79, 312.77°)
OKLaboklab(24.18% 0.0565 -0.0918)
OKLCHoklch(24.18% 0.108 301.6)
XYZxyz(2.2657, 1.1904, 6.4124)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0A49 #29490A
analogous
#0A0A49 #2A0A49 #490A49
triadic
#2A0A49 #492A0A #0A492A
tetradic
#2A0A49 #490A0A #29490A #0A4949
square
#2A0A49 #490A0A #29490A #0A4949
split-complementary
#2A0A49 #49490A #0A490A
monochromatic
#0F041B #0F041B #2A0A49 #49117F #6819B5

Accessibility & contrast

On white

16.96
#2A0A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2A0A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0A49
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0A49#FFFFFF#000000##FFFFFF
##2A0A491.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#231B29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a0a49;
/* rgb */ color: rgb(42, 10, 73);
/* oklch */ color: oklch(24.2% 0.108 301.6);
Tailwind
colors: {
  custom: {
    50: '#684d7c',
    500: '#2a0a49',
    950: '#000000',
  },
}
SCSS
$custom: #2a0a49;
$custom-light: #684d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0a49",
  "rgb": {
    "r": 42,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 270.476,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24184,
    "c": 0.10777,
    "h": 301.6
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#2A0A49
secondary
#578629
accent
#F23592
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2A0A49

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

Preview Lab → · Contrast checker → · Palette generator →

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