#2B1690#2B1690

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

Color values

HEX#2B1690
RGBrgb(43, 22, 144)
HSLhsl(250, 73%, 33%)
HSVhsv(250, 85%, 56%)
CMYKcmyk(70.1%, 84.7%, 0%, 43.5%)
CIE-LABlab(20.44, 45.44, -62.27)
CIE-LCHlch(20.44, 77.08, 306.12°)
OKLaboklab(33.47% 0.0252 -0.1799)
OKLCHoklch(33.47% 0.182 278)
XYZxyz(6.3156, 3.1005, 26.6458)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1690 #7B9016
analogous
#163E90 #2B1690 #681690
triadic
#2B1690 #902B16 #16902B
tetradic
#2B1690 #90163E #7B9016 #169068
square
#2B1690 #90163E #7B9016 #169068
split-complementary
#2B1690 #906816 #3E9016
monochromatic
#0B0626 #1B0E5B #2B1690 #3B1EC5 #5B3FE2

Accessibility & contrast

On white

12.96
#2B1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1690
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1690#FFFFFF#000000##FFFFFF
##2B16901.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.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: #2b1690;
/* rgb */ color: rgb(43, 22, 144);
/* oklch */ color: oklch(33.5% 0.182 278.0);
Tailwind
colors: {
  custom: {
    50: '#7559b2',
    500: '#2b1690',
    950: '#000000',
  },
}
SCSS
$custom: #2b1690;
$custom-light: #7559b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1690",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 250.328,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33468,
    "c": 0.18161,
    "h": 278
  },
  "luminance": 0.03101
}

Semantic roles & 50–950 ramp

primary
#2B1690
secondary
#ABC240
accent
#F038D0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1690

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

Preview Lab → · Contrast checker → · Palette generator →

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