#2B0E35#2B0E35

#2B0E35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.078 H 316.4°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2B0E35
RGBrgb(43, 14, 53)
HSLhsl(285, 58%, 13%)
HSVhsv(285, 74%, 21%)
CMYKcmyk(18.9%, 73.6%, 0%, 79.2%)
CIE-LABlab(9.68, 22.49, -19.21)
CIE-LCHlch(9.68, 29.58, 319.49°)
OKLaboklab(23.1% 0.0566 -0.0538)
OKLCHoklch(23.1% 0.078 316.4)
XYZxyz(1.7958, 1.0848, 3.4823)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E35 #18350E
analogous
#170E35 #2B0E35 #350E2B
triadic
#2B0E35 #352B0E #0E352B
tetradic
#2B0E35 #35170E #18350E #0E2B35
square
#2B0E35 #35170E #18350E #0E2B35
split-complementary
#2B0E35 #2B350E #0E3517
monochromatic
#140618 #140618 #2B0E35 #521B65 #7A2896

Accessibility & contrast

On white

17.26
#2B0E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0E35
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E35#FFFFFF#000000##FFFFFF
##2B0E351.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031936
Deuteranopia (green-blind)
#0E1C34
Tritanopia (blue-blind)
#2A151F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0e35;
/* rgb */ color: rgb(43, 14, 53);
/* oklch */ color: oklch(23.1% 0.078 316.4);
Tailwind
colors: {
  custom: {
    50: '#664e6c',
    500: '#2b0e35',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e35;
$custom-light: #664e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e35",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 53
  },
  "hsl": {
    "h": 284.615,
    "s": 58.209,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23104,
    "c": 0.07807,
    "h": 316.4
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#2B0E35
secondary
#40702F
accent
#E1466E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0E35

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

Preview Lab → · Contrast checker → · Palette generator →

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