#2B0435#2B0435

#2B0435 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.7% C 0.095 H 318.4°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#2B0435
RGBrgb(43, 4, 53)
HSLhsl(288, 86%, 11%)
HSVhsv(288, 92%, 21%)
CMYKcmyk(18.9%, 92.5%, 0%, 79.2%)
CIE-LABlab(7.75, 27.95, -22.31)
CIE-LCHlch(7.75, 35.76, 321.40°)
OKLaboklab(21.72% 0.0707 -0.0628)
OKLCHoklch(21.72% 0.095 318.4)
XYZxyz(1.6822, 0.8575, 3.4444)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0435 #0E3504
analogous
#120435 #2B0435 #350426
triadic
#2B0435 #352B04 #04352B
tetradic
#2B0435 #351204 #0E3504 #042635
square
#2B0435 #351204 #0E3504 #042635
split-complementary
#2B0435 #263504 #043512
monochromatic
#17021C #17021C #2B0435 #59086E #870DA7

Accessibility & contrast

On white

17.93
#2B0435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2B0435 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0435
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0435#FFFFFF#000000##FFFFFF
##2B04351.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#061834
Tritanopia (blue-blind)
#2B0E1C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2b0435;
/* rgb */ color: rgb(43, 4, 53);
/* oklch */ color: oklch(21.7% 0.095 318.4);
Tailwind
colors: {
  custom: {
    50: '#67496c',
    500: '#2b0435',
    950: '#000000',
  },
}
SCSS
$custom: #2b0435;
$custom-light: #67496c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0435",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 287.755,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21723,
    "c": 0.09461,
    "h": 318.4
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#2B0435
secondary
#30771E
accent
#FC2C56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0435

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

Preview Lab → · Contrast checker → · Palette generator →

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