#2B0526#2B0526

#2B0526 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.078 H 333.8°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#2B0526
RGBrgb(43, 5, 38)
HSLhsl(308, 79%, 9%)
HSVhsv(308, 88%, 17%)
CMYKcmyk(0%, 88.4%, 11.6%, 83.1%)
CIE-LABlab(6.88, 23.93, -12.48)
CIE-LCHlch(6.88, 26.99, 332.46°)
OKLaboklab(20.71% 0.0701 -0.0345)
OKLCHoklch(20.71% 0.078 333.8)
XYZxyz(1.4004, 0.7622, 1.9067)
Luminance0.0076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0526 #052B0A
analogous
#1D052B #2B0526 #2B0513
triadic
#2B0526 #262B05 #05262B
tetradic
#2B0526 #2B1D05 #052B0A #05132B
square
#2B0526 #2B1D05 #052B0A #05132B
split-complementary
#2B0526 #132B05 #052B1D
monochromatic
#1B0318 #1B0318 #2B0526 #620B56 #991287

Accessibility & contrast

On white

18.22
#2B0526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0526
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0526#FFFFFF#000000##FFFFFF
##2B05261.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041227
Deuteranopia (green-blind)
#111725
Tritanopia (blue-blind)
#2D0814
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0526;
/* rgb */ color: rgb(43, 5, 38);
/* oklch */ color: oklch(20.7% 0.078 333.8);
Tailwind
colors: {
  custom: {
    50: '#664960',
    500: '#2b0526',
    950: '#000000',
  },
}
SCSS
$custom: #2b0526;
$custom-light: #664960;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0526",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 307.895,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20713,
    "c": 0.07809,
    "h": 333.8
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#2B0526
secondary
#1F6D29
accent
#F64C32
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0526

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

Preview Lab → · Contrast checker → · Palette generator →

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