#2B0530#2B0530

#2B0530 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.088 H 322.9°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#2B0530
RGBrgb(43, 5, 48)
HSLhsl(293, 81%, 10%)
HSVhsv(293, 90%, 19%)
CMYKcmyk(10.4%, 89.6%, 0%, 81.2%)
CIE-LABlab(7.55, 26.22, -18.95)
CIE-LCHlch(7.55, 32.35, 324.14°)
OKLaboklab(21.45% 0.07 -0.053)
OKLCHoklch(21.45% 0.088 322.9)
XYZxyz(1.5840, 0.8356, 2.8736)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0530 #0A3005
analogous
#150530 #2B0530 #30051F
triadic
#2B0530 #302B05 #05302B
tetradic
#2B0530 #301505 #0A3005 #051F30
square
#2B0530 #301505 #0A3005 #051F30
split-complementary
#2B0530 #1F3005 #053015
monochromatic
#19031C #19031C #2B0530 #5D0B67 #8E119F

Accessibility & contrast

On white

17.99
#2B0530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B0530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0530
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0530#FFFFFF#000000##FFFFFF
##2B05301.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#0B182F
Tritanopia (blue-blind)
#2C0D1A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0530;
/* rgb */ color: rgb(43, 5, 48);
/* oklch */ color: oklch(21.4% 0.088 322.9);
Tailwind
colors: {
  custom: {
    50: '#664968',
    500: '#2b0530',
    950: '#000000',
  },
}
SCSS
$custom: #2b0530;
$custom-light: #664968;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0530",
  "rgb": {
    "r": 43,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 293.023,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2145,
    "c": 0.08778,
    "h": 322.9
  },
  "luminance": 0.00836
}

Semantic roles & 50–950 ramp

primary
#2B0530
secondary
#29721F
accent
#F83047
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0530

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

Preview Lab → · Contrast checker → · Palette generator →

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