#2B0A38#2B0A38

#2B0A38 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.8% C 0.088 H 314.6°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#2B0A38
RGBrgb(43, 10, 56)
HSLhsl(283, 70%, 13%)
HSVhsv(283, 82%, 22%)
CMYKcmyk(23.2%, 82.1%, 0%, 78%)
CIE-LABlab(9.13, 25.43, -22.27)
CIE-LCHlch(9.13, 33.80, 318.78°)
OKLaboklab(22.78% 0.062 -0.0627)
OKLCHoklch(22.78% 0.088 314.6)
XYZxyz(1.8185, 1.0163, 3.8410)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A38 #17380A
analogous
#140A38 #2B0A38 #380A2E
triadic
#2B0A38 #382B0A #0A382B
tetradic
#2B0A38 #38140A #17380A #0A2E38
square
#2B0A38 #38140A #17380A #0A2E38
split-complementary
#2B0A38 #2E380A #0A3814
monochromatic
#14051A #14051A #2B0A38 #53136C #7B1DA0

Accessibility & contrast

On white

17.45
#2B0A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A38
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A38#FFFFFF#000000##FFFFFF
##2B0A381.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#081B37
Tritanopia (blue-blind)
#2A1420
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0a38;
/* rgb */ color: rgb(43, 10, 56);
/* oklch */ color: oklch(22.8% 0.088 314.6);
Tailwind
colors: {
  custom: {
    50: '#664c6f',
    500: '#2b0a38',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a38;
$custom-light: #664c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a38",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 283.043,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22781,
    "c": 0.08818,
    "h": 314.6
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#2B0A38
secondary
#3E7528
accent
#ED3B6D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0A38

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

Preview Lab → · Contrast checker → · Palette generator →

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