#2B0A49#2B0A49

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

Color values

HEX#2B0A49
RGBrgb(43, 10, 73)
HSLhsl(271, 76%, 16%)
HSVhsv(271, 86%, 29%)
CMYKcmyk(41.1%, 86.3%, 0%, 71.4%)
CIE-LABlab(10.64, 29.93, -31.88)
CIE-LCHlch(10.64, 43.73, 313.19°)
OKLaboklab(24.33% 0.0582 -0.091)
OKLCHoklch(24.33% 0.108 302.6)
XYZxyz(2.3071, 1.2117, 6.4144)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A49 #28490A
analogous
#0C0A49 #2B0A49 #490A48
triadic
#2B0A49 #492B0A #0A492B
tetradic
#2B0A49 #490C0A #28490A #0A4849
square
#2B0A49 #490C0A #28490A #0A4849
split-complementary
#2B0A49 #48490A #0A490C
monochromatic
#10041B #10041B #2B0A49 #4B117F #6A19B5

Accessibility & contrast

On white

16.90
#2B0A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A49
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A49#FFFFFF#000000##FFFFFF
##2B0A491.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#251B29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0a49;
/* rgb */ color: rgb(43, 10, 73);
/* oklch */ color: oklch(24.3% 0.108 302.6);
Tailwind
colors: {
  custom: {
    50: '#684d7c',
    500: '#2b0a49',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a49;
$custom-light: #684d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a49",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 271.429,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24328,
    "c": 0.10799,
    "h": 302.6
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#2B0A49
secondary
#558629
accent
#F2358F
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0A49

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

Preview Lab → · Contrast checker → · Palette generator →

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