#2B0E36#2B0E36

#2B0E36 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.079 H 315.5°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#2B0E36
RGBrgb(43, 14, 54)
HSLhsl(284, 59%, 13%)
HSVhsv(284, 74%, 21%)
CMYKcmyk(20.4%, 74.1%, 0%, 78.8%)
CIE-LABlab(9.75, 22.74, -19.82)
CIE-LCHlch(9.75, 30.17, 318.93°)
OKLaboklab(23.18% 0.0566 -0.0556)
OKLCHoklch(23.18% 0.079 315.5)
XYZxyz(1.8190, 1.0941, 3.6047)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E36 #19360E
analogous
#170E36 #2B0E36 #360E2D
triadic
#2B0E36 #362B0E #0E362B
tetradic
#2B0E36 #36170E #19360E #0E2D36
square
#2B0E36 #36170E #19360E #0E2D36
split-complementary
#2B0E36 #2D360E #0E3617
monochromatic
#130618 #130618 #2B0E36 #521B67 #782797

Accessibility & contrast

On white

17.23
#2B0E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E36
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E36#FFFFFF#000000##FFFFFF
##2B0E361.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021937
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#2A1520
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0e36;
/* rgb */ color: rgb(43, 14, 54);
/* oklch */ color: oklch(23.2% 0.079 315.5);
Tailwind
colors: {
  custom: {
    50: '#664e6d',
    500: '#2b0e36',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e36;
$custom-light: #664e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e36",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 283.5,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23181,
    "c": 0.0793,
    "h": 315.5
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#2B0E36
secondary
#41712F
accent
#E24671
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0E36

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

Preview Lab → · Contrast checker → · Palette generator →

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