#2B0A34#2B0A34

#2B0A34 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.084 H 318.2°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2B0A34
RGBrgb(43, 10, 52)
HSLhsl(287, 68%, 12%)
HSVhsv(287, 81%, 20%)
CMYKcmyk(17.3%, 80.8%, 0%, 79.6%)
CIE-LABlab(8.81, 24.43, -19.87)
CIE-LCHlch(8.81, 31.49, 320.89°)
OKLaboklab(22.46% 0.0623 -0.0557)
OKLCHoklch(22.46% 0.084 318.2)
XYZxyz(1.7245, 0.9787, 3.3462)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A34 #13340A
analogous
#160A34 #2B0A34 #340A28
triadic
#2B0A34 #342B0A #0A342B
tetradic
#2B0A34 #34160A #13340A #0A2834
square
#2B0A34 #34160A #13340A #0A2834
split-complementary
#2B0A34 #28340A #0A3416
monochromatic
#15051A #15051A #2B0A34 #551467 #801E9B

Accessibility & contrast

On white

17.56
#2B0A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B0A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0A34
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A34#FFFFFF#000000##FFFFFF
##2B0A341.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#0C1A33
Tritanopia (blue-blind)
#2B121E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0a34;
/* rgb */ color: rgb(43, 10, 52);
/* oklch */ color: oklch(22.5% 0.084 318.2);
Tailwind
colors: {
  custom: {
    50: '#664c6c',
    500: '#2b0a34',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a34;
$custom-light: #664c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a34",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 287.143,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22456,
    "c": 0.08358,
    "h": 318.2
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#2B0A34
secondary
#387128
accent
#EB3D62
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0A34

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

Preview Lab → · Contrast checker → · Palette generator →

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