#2B0525#2B0525

#2B0525 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.6% C 0.077 H 335.1°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#2B0525
RGBrgb(43, 5, 37)
HSLhsl(309, 79%, 9%)
HSVhsv(309, 88%, 17%)
CMYKcmyk(0%, 88.4%, 14%, 83.1%)
CIE-LABlab(6.83, 23.72, -11.81)
CIE-LCHlch(6.83, 26.49, 333.54°)
OKLaboklab(20.65% 0.07 -0.0326)
OKLCHoklch(20.65% 0.077 335.1)
XYZxyz(1.3845, 0.7558, 1.8229)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0525 #052B0B
analogous
#1E052B #2B0525 #2B0512
triadic
#2B0525 #252B05 #05252B
tetradic
#2B0525 #2B1E05 #052B0B #05122B
square
#2B0525 #2B1E05 #052B0B #05122B
split-complementary
#2B0525 #122B05 #052B1E
monochromatic
#1B0318 #1B0318 #2B0525 #620B54 #991283

Accessibility & contrast

On white

18.24
#2B0525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B0525 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0525
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0525#FFFFFF#000000##FFFFFF
##2B05251.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051126
Deuteranopia (green-blind)
#121724
Tritanopia (blue-blind)
#2E0714
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0525;
/* rgb */ color: rgb(43, 5, 37);
/* oklch */ color: oklch(20.6% 0.077 335.1);
Tailwind
colors: {
  custom: {
    50: '#66495f',
    500: '#2b0525',
    950: '#000000',
  },
}
SCSS
$custom: #2b0525;
$custom-light: #66495f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0525",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 37
  },
  "hsl": {
    "h": 309.474,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20646,
    "c": 0.07719,
    "h": 335.1
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#2B0525
secondary
#1F6D2B
accent
#F65132
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2B0525

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

Preview Lab → · Contrast checker → · Palette generator →

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