#2B0225#2B0225

#2B0225 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.084 H 334.8°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#2B0225
RGBrgb(43, 2, 37)
HSLhsl(309, 91%, 9%)
HSVhsv(309, 95%, 17%)
CMYKcmyk(0%, 95.3%, 14%, 83.1%)
CIE-LABlab(6.24, 25.29, -12.72)
CIE-LCHlch(6.24, 28.31, 333.30°)
OKLaboklab(20.16% 0.0757 -0.0356)
OKLCHoklch(20.16% 0.084 334.8)
XYZxyz(1.3519, 0.6907, 1.8120)
Luminance0.0069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0225 #022B08
analogous
#1D022B #2B0225 #2B0211
triadic
#2B0225 #252B02 #02252B
tetradic
#2B0225 #2B1D02 #022B08 #02112B
square
#2B0225 #2B1D02 #022B08 #02112B
split-complementary
#2B0225 #112B02 #022B1D
monochromatic
#1D0119 #1D0119 #2B0225 #650557 #A0078A

Accessibility & contrast

On white

18.45
#2B0225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2B0225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0225
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0225#FFFFFF#000000##FFFFFF
##2B02251.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021026
Deuteranopia (green-blind)
#101624
Tritanopia (blue-blind)
#2E0512
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2b0225;
/* rgb */ color: rgb(43, 2, 37);
/* oklch */ color: oklch(20.2% 0.084 334.8);
Tailwind
colors: {
  custom: {
    50: '#66475f',
    500: '#2b0225',
    950: '#000000',
  },
}
SCSS
$custom: #2b0225;
$custom-light: #66475f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0225",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 308.78,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.20163,
    "c": 0.08366,
    "h": 334.8
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#2B0225
secondary
#197026
accent
#FF4829
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060004
muted
#7A7779

Preview Lab

Preview with #2B0225

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

Preview Lab → · Contrast checker → · Palette generator →

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