#2B1569#2B1569

#2B1569 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.135 H 286.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#2B1569
RGBrgb(43, 21, 105)
HSLhsl(256, 67%, 25%)
HSVhsv(256, 80%, 41%)
CMYKcmyk(59%, 80%, 0%, 58.8%)
CIE-LABlab(15.85, 33.89, -44.97)
CIE-LCHlch(15.85, 56.31, 307.01°)
OKLaboklab(28.97% 0.0383 -0.1294)
OKLCHoklch(28.97% 0.135 286.5)
XYZxyz(3.8135, 2.0696, 13.5604)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1569 #536915
analogous
#152969 #2B1569 #551569
triadic
#2B1569 #692B15 #15692B
tetradic
#2B1569 #691529 #536915 #156955
square
#2B1569 #691529 #536915 #156955
split-complementary
#2B1569 #695515 #296915
monochromatic
#0A051A #160B36 #2B1569 #401F9C #5529CF

Accessibility & contrast

On white

14.85
#2B1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1569
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1569#FFFFFF#000000##FFFFFF
##2B15691.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#0E2D3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b1569;
/* rgb */ color: rgb(43, 21, 105);
/* oklch */ color: oklch(29.0% 0.135 286.5);
Tailwind
colors: {
  custom: {
    50: '#6d5595',
    500: '#2b1569',
    950: '#000000',
  },
}
SCSS
$custom: #2b1569;
$custom-light: #6d5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1569",
  "rgb": {
    "r": 43,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 255.714,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28971,
    "c": 0.135,
    "h": 286.5
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#2B1569
secondary
#85A03A
accent
#EA3EBD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2B1569

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

Preview Lab → · Contrast checker → · Palette generator →

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