#2B0235#2B0235

#2B0235 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.098 H 318.8°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#2B0235
RGBrgb(43, 2, 53)
HSLhsl(288, 93%, 11%)
HSVhsv(288, 96%, 21%)
CMYKcmyk(18.9%, 96.2%, 0%, 79.2%)
CIE-LABlab(7.35, 29.08, -22.94)
CIE-LCHlch(7.35, 37.04, 321.72°)
OKLaboklab(21.44% 0.0738 -0.0647)
OKLCHoklch(21.44% 0.098 318.8)
XYZxyz(1.6605, 0.8141, 3.4371)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0235 #0C3502
analogous
#110235 #2B0235 #350225
triadic
#2B0235 #352B02 #02352B
tetradic
#2B0235 #351102 #0C3502 #022535
square
#2B0235 #351102 #0C3502 #022535
split-complementary
#2B0235 #253502 #023511
monochromatic
#18011D #18011D #2B0235 #5B0470 #8B06AB

Accessibility & contrast

On white

18.06
#2B0235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#2B0235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0235
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0235#FFFFFF#000000##FFFFFF
##2B02351.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001436
Deuteranopia (green-blind)
#041834
Tritanopia (blue-blind)
#2B0D1C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #2b0235;
/* rgb */ color: rgb(43, 2, 53);
/* oklch */ color: oklch(21.4% 0.098 318.8);
Tailwind
colors: {
  custom: {
    50: '#67486c',
    500: '#2b0235',
    950: '#000000',
  },
}
SCSS
$custom: #2b0235;
$custom-light: #67486c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0235",
  "rgb": {
    "r": 43,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 288.235,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21438,
    "c": 0.09819,
    "h": 318.8
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#2B0235
secondary
#2C791A
accent
#FF2953
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0235

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

Preview Lab → · Contrast checker → · Palette generator →

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