#2B0A30#2B0A30

#2B0A30 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.079 H 322.2°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#2B0A30
RGBrgb(43, 10, 48)
HSLhsl(292, 66%, 11%)
HSVhsv(292, 79%, 19%)
CMYKcmyk(10.4%, 79.2%, 0%, 81.2%)
CIE-LABlab(8.52, 23.48, -17.40)
CIE-LCHlch(8.52, 29.22, 323.46°)
OKLaboklab(22.15% 0.0625 -0.0485)
OKLCHoklch(22.15% 0.079 322.2)
XYZxyz(1.6382, 0.9442, 2.8917)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A30 #0F300A
analogous
#180A30 #2B0A30 #300A22
triadic
#2B0A30 #302B0A #0A302B
tetradic
#2B0A30 #30180A #0F300A #0A2230
square
#2B0A30 #30180A #0F300A #0A2230
split-complementary
#2B0A30 #22300A #0A3018
monochromatic
#170519 #170519 #2B0A30 #581563 #861F95

Accessibility & contrast

On white

17.66
#2B0A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B0A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0A30
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A30#FFFFFF#000000##FFFFFF
##2B0A301.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031631
Deuteranopia (green-blind)
#0F1A2F
Tritanopia (blue-blind)
#2C101B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0a30;
/* rgb */ color: rgb(43, 10, 48);
/* oklch */ color: oklch(22.1% 0.079 322.2);
Tailwind
colors: {
  custom: {
    50: '#664c68',
    500: '#2b0a30',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a30;
$custom-light: #664c68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a30",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 292.105,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22149,
    "c": 0.07907,
    "h": 322.2
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#2B0A30
secondary
#326D29
accent
#E83F56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #2B0A30

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

Preview Lab → · Contrast checker → · Palette generator →

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