#2B1490#2B1490

#2B1490 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.3% C 0.183 H 278.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2B1490
RGBrgb(43, 20, 144)
HSLhsl(251, 76%, 32%)
HSVhsv(251, 86%, 56%)
CMYKcmyk(70.1%, 86.1%, 0%, 43.5%)
CIE-LABlab(20.15, 46.30, -62.75)
CIE-LCHlch(20.15, 77.98, 306.42°)
OKLaboklab(33.27% 0.026 -0.1812)
OKLCHoklch(33.27% 0.183 278.2)
XYZxyz(6.2788, 3.0270, 26.6335)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1490 #799014
analogous
#143B90 #2B1490 #691490
triadic
#2B1490 #902B14 #14902B
tetradic
#2B1490 #90143B #799014 #149069
square
#2B1490 #90143B #799014 #149069
split-complementary
#2B1490 #906914 #3B9014
monochromatic
#0B0525 #1B0D5A #2B1490 #3B1BC6 #5A3BE4

Accessibility & contrast

On white

13.08
#2B1490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1490
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1490#FFFFFF#000000##FFFFFF
##2B14901.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b1490;
/* rgb */ color: rgb(43, 20, 144);
/* oklch */ color: oklch(33.3% 0.183 278.2);
Tailwind
colors: {
  custom: {
    50: '#7558b2',
    500: '#2b1490',
    950: '#000000',
  },
}
SCSS
$custom: #2b1490;
$custom-light: #7558b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1490",
  "rgb": {
    "r": 43,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 251.129,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.18307,
    "h": 278.2
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#2B1490
secondary
#AAC33D
accent
#F236CF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #2B1490

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

Preview Lab → · Contrast checker → · Palette generator →

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