#2B0230#2B0230

#2B0230 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.0% C 0.093 H 323.3°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#2B0230
RGBrgb(43, 2, 48)
HSLhsl(293, 92%, 10%)
HSVhsv(293, 96%, 19%)
CMYKcmyk(10.4%, 95.8%, 0%, 81.2%)
CIE-LABlab(6.96, 27.87, -19.88)
CIE-LCHlch(6.96, 34.23, 324.49°)
OKLaboklab(21.01% 0.0749 -0.0559)
OKLCHoklch(21.01% 0.093 323.3)
XYZxyz(1.5514, 0.7705, 2.8627)
Luminance0.0077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0230 #073002
analogous
#140230 #2B0230 #30021E
triadic
#2B0230 #302B02 #02302B
tetradic
#2B0230 #301402 #073002 #021E30
square
#2B0230 #301402 #073002 #021E30
split-complementary
#2B0230 #1E3002 #023014
monochromatic
#1A011D #1A011D #2B0230 #60046B #9407A6

Accessibility & contrast

On white

18.20
#2B0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0230
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0230#FFFFFF#000000##FFFFFF
##2B02301.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#09172F
Tritanopia (blue-blind)
#2C0A19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0230;
/* rgb */ color: rgb(43, 2, 48);
/* oklch */ color: oklch(21.0% 0.093 323.3);
Tailwind
colors: {
  custom: {
    50: '#674768',
    500: '#2b0230',
    950: '#000000',
  },
}
SCSS
$custom: #2b0230;
$custom-light: #674768;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0230",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 293.478,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.21006,
    "c": 0.09348,
    "h": 323.3
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#2B0230
secondary
#237519
accent
#FF2940
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060006
muted
#7A777A

Preview Lab

Preview with #2B0230

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

Preview Lab → · Contrast checker → · Palette generator →

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