#2B0935#2B0935

#2B0935 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.086 H 317.5°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#2B0935
RGBrgb(43, 9, 53)
HSLhsl(286, 71%, 12%)
HSVhsv(286, 83%, 21%)
CMYKcmyk(18.9%, 83%, 0%, 79.2%)
CIE-LABlab(8.71, 25.20, -20.77)
CIE-LCHlch(8.71, 32.65, 320.51°)
OKLaboklab(22.4% 0.0636 -0.0583)
OKLCHoklch(22.4% 0.086 317.5)
XYZxyz(1.7365, 0.9661, 3.4625)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0935 #133509
analogous
#150935 #2B0935 #350929
triadic
#2B0935 #352B09 #09352B
tetradic
#2B0935 #351509 #133509 #092935
square
#2B0935 #351509 #133509 #092935
split-complementary
#2B0935 #293509 #093515
monochromatic
#15041A #15041A #2B0935 #551269 #801B9E

Accessibility & contrast

On white

17.60
#2B0935 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0935
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0935#FFFFFF#000000##FFFFFF
##2B09351.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0935;
/* rgb */ color: rgb(43, 9, 53);
/* oklch */ color: oklch(22.4% 0.086 317.5);
Tailwind
colors: {
  custom: {
    50: '#664c6c',
    500: '#2b0935',
    950: '#000000',
  },
}
SCSS
$custom: #2b0935;
$custom-light: #664c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0935",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 53
  },
  "hsl": {
    "h": 286.364,
    "s": 70.968,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22404,
    "c": 0.08629,
    "h": 317.5
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#2B0935
secondary
#387327
accent
#EE3A63
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0935

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

Preview Lab → · Contrast checker → · Palette generator →

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