#2B1343#2B1343

#2B1343 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.088 H 303.7°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#2B1343
RGBrgb(43, 19, 67)
HSLhsl(270, 56%, 17%)
HSVhsv(270, 72%, 26%)
CMYKcmyk(35.8%, 71.6%, 0%, 73.7%)
CIE-LABlab(11.85, 23.33, -25.72)
CIE-LCHlch(11.85, 34.72, 312.21°)
OKLaboklab(25.02% 0.0486 -0.0729)
OKLCHoklch(25.02% 0.088 303.7)
XYZxyz(2.2420, 1.3846, 5.4582)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1343 #2B4313
analogous
#131343 #2B1343 #431343
triadic
#2B1343 #432B13 #13432B
tetradic
#2B1343 #431313 #2B4313 #134343
square
#2B1343 #431313 #2B4313 #134343
split-complementary
#2B1343 #434313 #134313
monochromatic
#0F0718 #0F0718 #2B1343 #4A2173 #682EA2

Accessibility & contrast

On white

16.44
#2B1343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2B1343 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1343
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1343#FFFFFF#000000##FFFFFF
##2B13431.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F44
Deuteranopia (green-blind)
#061F42
Tritanopia (blue-blind)
#261D28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b1343;
/* rgb */ color: rgb(43, 19, 67);
/* oklch */ color: oklch(25.0% 0.088 303.7);
Tailwind
colors: {
  custom: {
    50: '#675277',
    500: '#2b1343',
    950: '#000000',
  },
}
SCSS
$custom: #2b1343;
$custom-light: #675277;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1343",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 270,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25023,
    "c": 0.08763,
    "h": 303.7
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#2B1343
secondary
#597C36
accent
#DF4994
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2B1343

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

Preview Lab → · Contrast checker → · Palette generator →

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