#2A0B3A#2A0B3A

#2A0B3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.089 H 311.6°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#2A0B3A
RGBrgb(42, 11, 58)
HSLhsl(280, 68%, 14%)
HSVhsv(280, 81%, 23%)
CMYKcmyk(27.6%, 81%, 0%, 77.3%)
CIE-LABlab(9.30, 25.17, -23.45)
CIE-LCHlch(9.30, 34.40, 317.03°)
OKLaboklab(22.92% 0.0588 -0.0662)
OKLCHoklch(22.92% 0.089 311.6)
XYZxyz(1.8381, 1.0371, 4.1055)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0B3A #1B3A0B
analogous
#120B3A #2A0B3A #3A0B32
triadic
#2A0B3A #3A2A0B #0B3A2A
tetradic
#2A0B3A #3A120B #1B3A0B #0B323A
square
#2A0B3A #3A120B #1B3A0B #0B323A
split-complementary
#2A0B3A #323A0B #0B3A12
monochromatic
#13051A #13051A #2A0B3A #4F156D #751FA1

Accessibility & contrast

On white

17.39
#2A0B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A0B3A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0B3A#FFFFFF#000000##FFFFFF
##2A0B3A1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#061B39
Tritanopia (blue-blind)
#281521
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a0b3a;
/* rgb */ color: rgb(42, 11, 58);
/* oklch */ color: oklch(22.9% 0.089 311.6);
Tailwind
colors: {
  custom: {
    50: '#664d70',
    500: '#2a0b3a',
    950: '#000000',
  },
}
SCSS
$custom: #2a0b3a;
$custom-light: #664d70;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0b3a",
  "rgb": {
    "r": 42,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 279.574,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22918,
    "c": 0.08861,
    "h": 311.6
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#2A0B3A
secondary
#44772A
accent
#EB3D78
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2A0B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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