#2B0330#2B0330

#2B0330 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.092 H 323.1°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#2B0330
RGBrgb(43, 3, 48)
HSLhsl(293, 88%, 10%)
HSVhsv(293, 94%, 19%)
CMYKcmyk(10.4%, 93.8%, 0%, 81.2%)
CIE-LABlab(7.16, 27.32, -19.57)
CIE-LCHlch(7.16, 33.61, 324.38°)
OKLaboklab(21.16% 0.0732 -0.0549)
OKLCHoklch(21.16% 0.092 323.1)
XYZxyz(1.5623, 0.7922, 2.8664)
Luminance0.0079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0330 #083003
analogous
#140330 #2B0330 #30031F
triadic
#2B0330 #302B03 #03302B
tetradic
#2B0330 #301403 #083003 #031F30
square
#2B0330 #301403 #083003 #031F30
split-complementary
#2B0330 #1F3003 #033014
monochromatic
#1A021D #1A021D #2B0330 #5F076A #920AA3

Accessibility & contrast

On white

18.13
#2B0330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0330
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0330#FFFFFF#000000##FFFFFF
##2B03301.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#0A172F
Tritanopia (blue-blind)
#2C0B19
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0330;
/* rgb */ color: rgb(43, 3, 48);
/* oklch */ color: oklch(21.2% 0.092 323.1);
Tailwind
colors: {
  custom: {
    50: '#674868',
    500: '#2b0330',
    950: '#000000',
  },
}
SCSS
$custom: #2b0330;
$custom-light: #674868;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0330",
  "rgb": {
    "r": 43,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 293.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.21156,
    "c": 0.09154,
    "h": 323.1
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#2B0330
secondary
#25731B
accent
#FE2941
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0330

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

Preview Lab → · Contrast checker → · Palette generator →

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