#2B0136#2B0136

#2B0136 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.101 H 318.1°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#2B0136
RGBrgb(43, 1, 54)
HSLhsl(288, 96%, 11%)
HSVhsv(288, 98%, 21%)
CMYKcmyk(20.4%, 98.1%, 0%, 78.8%)
CIE-LABlab(7.24, 29.88, -23.86)
CIE-LCHlch(7.24, 38.24, 321.40°)
OKLaboklab(21.38% 0.0752 -0.0674)
OKLCHoklch(21.38% 0.101 318.1)
XYZxyz(1.6729, 0.8017, 3.5559)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0136 #0C3601
analogous
#100136 #2B0136 #360126
triadic
#2B0136 #362B01 #01362B
tetradic
#2B0136 #361001 #0C3601 #012636
square
#2B0136 #361001 #0C3601 #012636
split-complementary
#2B0136 #263601 #013610
monochromatic
#18011E #18011E #2B0136 #5B0272 #8B03AE

Accessibility & contrast

On white

18.10
#2B0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0136
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0136#FFFFFF#000000##FFFFFF
##2B01361.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#021735
Tritanopia (blue-blind)
#2B0C1C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0136;
/* rgb */ color: rgb(43, 1, 54);
/* oklch */ color: oklch(21.4% 0.101 318.1);
Tailwind
colors: {
  custom: {
    50: '#67476d',
    500: '#2b0136',
    950: '#000000',
  },
}
SCSS
$custom: #2b0136;
$custom-light: #67476d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0136",
  "rgb": {
    "r": 43,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 287.547,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21383,
    "c": 0.10096,
    "h": 318.1
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#2B0136
secondary
#2C7B18
accent
#FF2955
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #2B0136

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

Preview Lab → · Contrast checker → · Palette generator →

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