#2B0437#2B0437

#2B0437 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.097 H 316.7°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#2B0437
RGBrgb(43, 4, 55)
HSLhsl(286, 86%, 12%)
HSVhsv(286, 93%, 22%)
CMYKcmyk(21.8%, 92.7%, 0%, 78.4%)
CIE-LABlab(7.92, 28.42, -23.50)
CIE-LCHlch(7.92, 36.88, 320.41°)
OKLaboklab(21.9% 0.0703 -0.0663)
OKLCHoklch(21.9% 0.097 316.7)
XYZxyz(1.7292, 0.8763, 3.6918)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0437 #103704
analogous
#120437 #2B0437 #37042A
triadic
#2B0437 #372B04 #04372B
tetradic
#2B0437 #371204 #103704 #042A37
square
#2B0437 #371204 #103704 #042A37
split-complementary
#2B0437 #2A3704 #043712
monochromatic
#16021D #16021D #2B0437 #580870 #840CA9

Accessibility & contrast

On white

17.87
#2B0437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2B0437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0437
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0437#FFFFFF#000000##FFFFFF
##2B04371.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001538
Deuteranopia (green-blind)
#041836
Tritanopia (blue-blind)
#2A0F1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0437;
/* rgb */ color: rgb(43, 4, 55);
/* oklch */ color: oklch(21.9% 0.097 316.7);
Tailwind
colors: {
  custom: {
    50: '#67496e',
    500: '#2b0437',
    950: '#000000',
  },
}
SCSS
$custom: #2b0437;
$custom-light: #67496e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0437",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 285.882,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21898,
    "c": 0.09663,
    "h": 316.7
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#2B0437
secondary
#33791E
accent
#FD2B5C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0437

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

Preview Lab → · Contrast checker → · Palette generator →

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