#2B1590#2B1590

#2B1590 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.182 H 278.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2B1590
RGBrgb(43, 21, 144)
HSLhsl(251, 75%, 32%)
HSVhsv(251, 85%, 56%)
CMYKcmyk(70.1%, 85.4%, 0%, 43.5%)
CIE-LABlab(20.29, 45.87, -62.51)
CIE-LCHlch(20.29, 77.54, 306.27°)
OKLaboklab(33.37% 0.0256 -0.1805)
OKLCHoklch(33.37% 0.182 278.1)
XYZxyz(6.2968, 3.0630, 26.6395)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1590 #7A9015
analogous
#153C90 #2B1590 #691590
triadic
#2B1590 #902B15 #15902B
tetradic
#2B1590 #90153C #7A9015 #159069
square
#2B1590 #90153C #7A9015 #159069
split-complementary
#2B1590 #906915 #3C9015
monochromatic
#0B0525 #1B0D5B #2B1590 #3B1DC5 #5A3DE3

Accessibility & contrast

On white

13.02
#2B1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1590
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1590#FFFFFF#000000##FFFFFF
##2B15901.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002C8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b1590;
/* rgb */ color: rgb(43, 21, 144);
/* oklch */ color: oklch(33.4% 0.182 278.1);
Tailwind
colors: {
  custom: {
    50: '#7558b2',
    500: '#2b1590',
    950: '#000000',
  },
}
SCSS
$custom: #2b1590;
$custom-light: #7558b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1590",
  "rgb": {
    "r": 43,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 250.732,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33367,
    "c": 0.18235,
    "h": 278.1
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#2B1590
secondary
#ABC23E
accent
#F137D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1590

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

Preview Lab → · Contrast checker → · Palette generator →

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