#2B0A3A#2B0A3A

#2B0A3A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.090 H 313.0°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#2B0A3A
RGBrgb(43, 10, 58)
HSLhsl(281, 71%, 13%)
HSVhsv(281, 83%, 23%)
CMYKcmyk(25.9%, 82.8%, 0%, 77.3%)
CIE-LABlab(9.29, 25.94, -23.45)
CIE-LCHlch(9.29, 34.97, 317.88°)
OKLaboklab(22.95% 0.0617 -0.0662)
OKLCHoklch(22.95% 0.091 313)
XYZxyz(1.8684, 1.0362, 4.1038)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A3A #193A0A
analogous
#130A3A #2B0A3A #3A0A31
triadic
#2B0A3A #3A2B0A #0A3A2B
tetradic
#2B0A3A #3A130A #193A0A #0A313A
square
#2B0A3A #3A130A #193A0A #0A313A
split-complementary
#2B0A3A #313A0A #0A3A13
monochromatic
#13051A #13051A #2B0A3A #52136E #781CA2

Accessibility & contrast

On white

17.40
#2B0A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A3A
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A3A#FFFFFF#000000##FFFFFF
##2B0A3A1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0a3a;
/* rgb */ color: rgb(43, 10, 58);
/* oklch */ color: oklch(22.9% 0.090 313.0);
Tailwind
colors: {
  custom: {
    50: '#674c70',
    500: '#2b0a3a',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a3a;
$custom-light: #674c70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a3a",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 58
  },
  "hsl": {
    "h": 281.25,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22949,
    "c": 0.0905,
    "h": 313
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#2B0A3A
secondary
#417728
accent
#ED3A72
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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