#2B0231#2B0231

#2B0231 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.094 H 322.3°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#2B0231
RGBrgb(43, 2, 49)
HSLhsl(292, 92%, 10%)
HSVhsv(292, 96%, 19%)
CMYKcmyk(12.2%, 95.9%, 0%, 80.8%)
CIE-LABlab(7.04, 28.11, -20.51)
CIE-LCHlch(7.04, 34.79, 323.89°)
OKLaboklab(21.09% 0.0747 -0.0577)
OKLCHoklch(21.09% 0.094 322.3)
XYZxyz(1.5723, 0.7789, 2.9727)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0231 #083102
analogous
#130231 #2B0231 #310220
triadic
#2B0231 #312B02 #02312B
tetradic
#2B0231 #311302 #083102 #022031
square
#2B0231 #311302 #083102 #022031
split-complementary
#2B0231 #203102 #023113
monochromatic
#1A011D #1A011D #2B0231 #5F046C #9207A7

Accessibility & contrast

On white

18.17
#2B0231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0231
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0231#FFFFFF#000000##FFFFFF
##2B02311.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#081730
Tritanopia (blue-blind)
#2C0B19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0231;
/* rgb */ color: rgb(43, 2, 49);
/* oklch */ color: oklch(21.1% 0.094 322.3);
Tailwind
colors: {
  custom: {
    50: '#674869',
    500: '#2b0231',
    950: '#000000',
  },
}
SCSS
$custom: #2b0231;
$custom-light: #674869;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0231",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 292.34,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.2109,
    "c": 0.09442,
    "h": 322.3
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#2B0231
secondary
#257519
accent
#FF2944
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2B0231

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

Preview Lab → · Contrast checker → · Palette generator →

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