#2B1355#2B1355

#2B1355 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.112 H 294.1°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#2B1355
RGBrgb(43, 19, 85)
HSLhsl(262, 63%, 20%)
HSVhsv(262, 78%, 33%)
CMYKcmyk(49.4%, 77.6%, 0%, 66.7%)
CIE-LABlab(13.44, 28.76, -35.57)
CIE-LCHlch(13.44, 45.74, 308.96°)
OKLaboklab(26.66% 0.0456 -0.1019)
OKLCHoklch(26.66% 0.112 294.1)
XYZxyz(2.8684, 1.6351, 8.7571)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1355 #3D5513
analogous
#131C55 #2B1355 #4C1355
triadic
#2B1355 #552B13 #13552B
tetradic
#2B1355 #55131C #3D5513 #13554C
square
#2B1355 #55131C #3D5513 #13554C
split-complementary
#2B1355 #554C13 #1C5513
monochromatic
#0D0619 #120823 #2B1355 #441E87 #5E29B9

Accessibility & contrast

On white

15.83
#2B1355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1355
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1355#FFFFFF#000000##FFFFFF
##2B13551.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#1F2432
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2b1355;
/* rgb */ color: rgb(43, 19, 85);
/* oklch */ color: oklch(26.7% 0.112 294.1);
Tailwind
colors: {
  custom: {
    50: '#695385',
    500: '#2b1355',
    950: '#000000',
  },
}
SCSS
$custom: #2b1355;
$custom-light: #695385;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1355",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 261.818,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26658,
    "c": 0.11161,
    "h": 294.1
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#2B1355
secondary
#6E8D36
accent
#E641AA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B1355

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

Preview Lab → · Contrast checker → · Palette generator →

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