#2B1455#2B1455

#2B1455 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.110 H 293.8°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#2B1455
RGBrgb(43, 20, 85)
HSLhsl(261, 62%, 21%)
HSVhsv(261, 76%, 33%)
CMYKcmyk(49.4%, 76.5%, 0%, 66.7%)
CIE-LABlab(13.65, 28.19, -35.23)
CIE-LCHlch(13.65, 45.12, 308.66°)
OKLaboklab(26.81% 0.0445 -0.1009)
OKLCHoklch(26.81% 0.11 293.8)
XYZxyz(2.8857, 1.6697, 8.7628)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1455 #3E5514
analogous
#141D55 #2B1455 #4B1455
triadic
#2B1455 #552B14 #14552B
tetradic
#2B1455 #55141D #3E5514 #14554B
square
#2B1455 #55141D #3E5514 #14554B
split-complementary
#2B1455 #554B14 #1D5514
monochromatic
#0D0619 #120823 #2B1455 #442087 #5D2BB8

Accessibility & contrast

On white

15.74
#2B1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1455
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1455#FFFFFF#000000##FFFFFF
##2B14551.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002254
Tritanopia (blue-blind)
#1F2433
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2b1455;
/* rgb */ color: rgb(43, 20, 85);
/* oklch */ color: oklch(26.8% 0.110 293.8);
Tailwind
colors: {
  custom: {
    50: '#695485',
    500: '#2b1455',
    950: '#000000',
  },
}
SCSS
$custom: #2b1455;
$custom-light: #695485;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1455",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 261.231,
    "s": 61.905,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26805,
    "c": 0.11028,
    "h": 293.8
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#2B1455
secondary
#6F8D38
accent
#E543AC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B1455

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

Preview Lab → · Contrast checker → · Palette generator →

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