#2B0439#2B0439

#2B0439 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.099 H 315.0°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#2B0439
RGBrgb(43, 4, 57)
HSLhsl(284, 87%, 12%)
HSVhsv(284, 93%, 22%)
CMYKcmyk(24.6%, 93%, 0%, 77.6%)
CIE-LABlab(8.09, 28.89, -24.67)
CIE-LCHlch(8.09, 37.98, 319.51°)
OKLaboklab(22.08% 0.0698 -0.0697)
OKLCHoklch(22.08% 0.099 315)
XYZxyz(1.7781, 0.8959, 3.9494)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0439 #123904
analogous
#110439 #2B0439 #39042D
triadic
#2B0439 #392B04 #04392B
tetradic
#2B0439 #391104 #123904 #042D39
square
#2B0439 #391104 #123904 #042D39
split-complementary
#2B0439 #2D3904 #043911
monochromatic
#16021D #16021D #2B0439 #560872 #810CAB

Accessibility & contrast

On white

17.81
#2B0439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0439
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0439#FFFFFF#000000##FFFFFF
##2B04391.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163A
Deuteranopia (green-blind)
#021938
Tritanopia (blue-blind)
#2A101F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0439;
/* rgb */ color: rgb(43, 4, 57);
/* oklch */ color: oklch(22.1% 0.099 315.0);
Tailwind
colors: {
  custom: {
    50: '#674970',
    500: '#2b0439',
    950: '#000000',
  },
}
SCSS
$custom: #2b0439;
$custom-light: #674970;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0439",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 284.151,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22077,
    "c": 0.09866,
    "h": 315
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#2B0439
secondary
#367B1E
accent
#FD2B62
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0439

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

Preview Lab → · Contrast checker → · Palette generator →

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