#2B0A37#2B0A37

#2B0A37 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.087 H 315.5°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#2B0A37
RGBrgb(43, 10, 55)
HSLhsl(284, 69%, 13%)
HSVhsv(284, 82%, 22%)
CMYKcmyk(21.8%, 81.8%, 0%, 78.4%)
CIE-LABlab(9.05, 25.18, -21.68)
CIE-LCHlch(9.05, 33.22, 319.27°)
OKLaboklab(22.7% 0.0621 -0.061)
OKLCHoklch(22.7% 0.087 315.5)
XYZxyz(1.7943, 1.0066, 3.7135)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A37 #16370A
analogous
#140A37 #2B0A37 #370A2C
triadic
#2B0A37 #372B0A #0A372B
tetradic
#2B0A37 #37140A #16370A #0A2C37
square
#2B0A37 #37140A #16370A #0A2C37
split-complementary
#2B0A37 #2C370A #0A3714
monochromatic
#14051A #14051A #2B0A37 #53136B #7C1D9F

Accessibility & contrast

On white

17.48
#2B0A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A37
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A37#FFFFFF#000000##FFFFFF
##2B0A371.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#091A36
Tritanopia (blue-blind)
#2A131F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b0a37;
/* rgb */ color: rgb(43, 10, 55);
/* oklch */ color: oklch(22.7% 0.087 315.5);
Tailwind
colors: {
  custom: {
    50: '#664c6e',
    500: '#2b0a37',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a37;
$custom-light: #664c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a37",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 284,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22698,
    "c": 0.08702,
    "h": 315.5
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#2B0A37
secondary
#3D7428
accent
#EC3C6B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0A37

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

Preview Lab → · Contrast checker → · Palette generator →

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