#2B1453#2B1453

#2B1453 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.108 H 294.7°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#2B1453
RGBrgb(43, 20, 83)
HSLhsl(262, 61%, 20%)
HSVhsv(262, 76%, 33%)
CMYKcmyk(48.2%, 75.9%, 0%, 67.5%)
CIE-LABlab(13.46, 27.56, -34.18)
CIE-LCHlch(13.46, 43.91, 308.89°)
OKLaboklab(26.61% 0.0449 -0.0978)
OKLCHoklch(26.61% 0.108 294.7)
XYZxyz(2.8073, 1.6384, 8.3503)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1453 #3C5314
analogous
#141C53 #2B1453 #4A1453
triadic
#2B1453 #532B14 #14532B
tetradic
#2B1453 #53141C #3C5314 #14534A
square
#2B1453 #53141C #3C5314 #14534A
split-complementary
#2B1453 #534A14 #1C5314
monochromatic
#0D0619 #110822 #2B1453 #452084 #5E2CB6

Accessibility & contrast

On white

15.82
#2B1453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2B1453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1453
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1453#FFFFFF#000000##FFFFFF
##2B14531.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002355
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#202431
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2b1453;
/* rgb */ color: rgb(43, 20, 83);
/* oklch */ color: oklch(26.6% 0.108 294.7);
Tailwind
colors: {
  custom: {
    50: '#695384',
    500: '#2b1453',
    950: '#000000',
  },
}
SCSS
$custom: #2b1453;
$custom-light: #695384;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1453",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 261.905,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26614,
    "c": 0.10763,
    "h": 294.7
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#2B1453
secondary
#6D8B38
accent
#E444AA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B1453

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

Preview Lab → · Contrast checker → · Palette generator →

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