#2B1353#2B1353

#2B1353 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.109 H 295.0°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#2B1353
RGBrgb(43, 19, 83)
HSLhsl(263, 63%, 20%)
HSVhsv(263, 77%, 33%)
CMYKcmyk(48.2%, 77.1%, 0%, 67.5%)
CIE-LABlab(13.25, 28.15, -34.52)
CIE-LCHlch(13.25, 44.54, 309.20°)
OKLaboklab(26.47% 0.0461 -0.0988)
OKLCHoklch(26.47% 0.109 295)
XYZxyz(2.7900, 1.6038, 8.3445)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1353 #3B5313
analogous
#131B53 #2B1353 #4B1353
triadic
#2B1353 #532B13 #13532B
tetradic
#2B1353 #53131B #3B5313 #13534B
square
#2B1353 #53131B #3B5313 #13534B
split-complementary
#2B1353 #534B13 #1B5313
monochromatic
#0D0619 #110821 #2B1353 #451E85 #5F2AB7

Accessibility & contrast

On white

15.90
#2B1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2B1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1353
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1353#FFFFFF#000000##FFFFFF
##2B13531.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b1353;
/* rgb */ color: rgb(43, 19, 83);
/* oklch */ color: oklch(26.5% 0.109 295.0);
Tailwind
colors: {
  custom: {
    50: '#695384',
    500: '#2b1353',
    950: '#000000',
  },
}
SCSS
$custom: #2b1353;
$custom-light: #695384;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1353",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 262.5,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.26465,
    "c": 0.109,
    "h": 295
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#2B1353
secondary
#6C8B36
accent
#E642A8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B1353

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

Preview Lab → · Contrast checker → · Palette generator →

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