#2B0233#2B0233

#2B0233 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.096 H 320.5°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#2B0233
RGBrgb(43, 2, 51)
HSLhsl(290, 92%, 10%)
HSVhsv(290, 96%, 20%)
CMYKcmyk(15.7%, 96.1%, 0%, 80%)
CIE-LABlab(7.19, 28.59, -21.73)
CIE-LCHlch(7.19, 35.92, 322.76°)
OKLaboklab(21.26% 0.0743 -0.0612)
OKLCHoklch(21.26% 0.096 320.5)
XYZxyz(1.6154, 0.7961, 3.1999)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0233 #0A3302
analogous
#120233 #2B0233 #330222
triadic
#2B0233 #332B02 #02332B
tetradic
#2B0233 #331202 #0A3302 #022233
square
#2B0233 #331202 #0A3302 #022233
split-complementary
#2B0233 #223302 #023312
monochromatic
#19011D #19011D #2B0233 #5D046E #8E07A9

Accessibility & contrast

On white

18.12
#2B0233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0233
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0233#FFFFFF#000000##FFFFFF
##2B02331.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#061732
Tritanopia (blue-blind)
#2B0C1A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0233;
/* rgb */ color: rgb(43, 2, 51);
/* oklch */ color: oklch(21.3% 0.096 320.5);
Tailwind
colors: {
  custom: {
    50: '#67486b',
    500: '#2b0233',
    950: '#000000',
  },
}
SCSS
$custom: #2b0233;
$custom-light: #67486b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0233",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 290.204,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21262,
    "c": 0.09629,
    "h": 320.5
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#2B0233
secondary
#29771A
accent
#FF294C
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2B0233

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

Preview Lab → · Contrast checker → · Palette generator →

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