#2B1350#2B1350

#2B1350 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.105 H 296.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#2B1350
RGBrgb(43, 19, 80)
HSLhsl(264, 62%, 19%)
HSVhsv(264, 76%, 31%)
CMYKcmyk(46.2%, 76.3%, 0%, 68.6%)
CIE-LABlab(12.98, 27.23, -32.92)
CIE-LCHlch(12.98, 42.72, 309.59°)
OKLaboklab(26.18% 0.0467 -0.0941)
OKLCHoklch(26.18% 0.105 296.4)
XYZxyz(2.6767, 1.5585, 7.7476)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1350 #385013
analogous
#131950 #2B1350 #4A1350
triadic
#2B1350 #502B13 #13502B
tetradic
#2B1350 #501319 #385013 #13504A
square
#2B1350 #501319 #385013 #13504A
split-complementary
#2B1350 #504A13 #195013
monochromatic
#0D0619 #10071F #2B1350 #461F81 #602AB3

Accessibility & contrast

On white

16.01
#2B1350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2B1350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1350
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1350#FFFFFF#000000##FFFFFF
##2B13501.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#212230
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b1350;
/* rgb */ color: rgb(43, 19, 80);
/* oklch */ color: oklch(26.2% 0.105 296.4);
Tailwind
colors: {
  custom: {
    50: '#685382',
    500: '#2b1350',
    950: '#000000',
  },
}
SCSS
$custom: #2b1350;
$custom-light: #685382;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1350",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 263.607,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26181,
    "c": 0.10505,
    "h": 296.4
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#2B1350
secondary
#688936
accent
#E543A5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #2B1350

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

Preview Lab → · Contrast checker → · Palette generator →

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