#2B1369#2B1369

#2B1369 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.137 H 286.9°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#2B1369
RGBrgb(43, 19, 105)
HSLhsl(257, 69%, 24%)
HSVhsv(257, 82%, 41%)
CMYKcmyk(59%, 81.9%, 0%, 58.8%)
CIE-LABlab(15.48, 34.94, -45.57)
CIE-LCHlch(15.48, 57.42, 307.48°)
OKLaboklab(28.72% 0.0399 -0.1312)
OKLCHoklch(28.72% 0.137 286.9)
XYZxyz(3.7782, 1.9990, 13.5486)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1369 #516913
analogous
#132669 #2B1369 #561369
triadic
#2B1369 #692B13 #13692B
tetradic
#2B1369 #691326 #516913 #136956
square
#2B1369 #691326 #516913 #136956
split-complementary
#2B1369 #695613 #266913
monochromatic
#0B051A #160A35 #2B1369 #401C9D #5526D1

Accessibility & contrast

On white

15.00
#2B1369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2B1369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1369
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1369#FFFFFF#000000##FFFFFF
##2B13691.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#0E2C3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b1369;
/* rgb */ color: rgb(43, 19, 105);
/* oklch */ color: oklch(28.7% 0.137 286.9);
Tailwind
colors: {
  custom: {
    50: '#6d5495',
    500: '#2b1369',
    950: '#000000',
  },
}
SCSS
$custom: #2b1369;
$custom-light: #6d5495;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1369",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 256.744,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.13711,
    "h": 286.9
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#2B1369
secondary
#83A038
accent
#EC3CBB
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2B1369

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

Preview Lab → · Contrast checker → · Palette generator →

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