#2B0F35#2B0F35

#2B0F35 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.076 H 316.2°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2B0F35
RGBrgb(43, 15, 53)
HSLhsl(284, 56%, 13%)
HSVhsv(284, 72%, 21%)
CMYKcmyk(18.9%, 71.7%, 0%, 79.2%)
CIE-LABlab(9.89, 21.90, -18.87)
CIE-LCHlch(9.89, 28.91, 319.25°)
OKLaboklab(23.26% 0.055 -0.0528)
OKLCHoklch(23.26% 0.076 316.2)
XYZxyz(1.8096, 1.1123, 3.4869)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F35 #19350F
analogous
#180F35 #2B0F35 #350F2C
triadic
#2B0F35 #352B0F #0F352B
tetradic
#2B0F35 #35180F #19350F #0F2C35
square
#2B0F35 #35180F #19350F #0F2C35
split-complementary
#2B0F35 #2C350F #0F3518
monochromatic
#130718 #130718 #2B0F35 #521C65 #782A94

Accessibility & contrast

On white

17.18
#2B0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F35
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F35#FFFFFF#000000##FFFFFF
##2B0F351.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A36
Deuteranopia (green-blind)
#0F1C34
Tritanopia (blue-blind)
#2A1620
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0f35;
/* rgb */ color: rgb(43, 15, 53);
/* oklch */ color: oklch(23.3% 0.076 316.2);
Tailwind
colors: {
  custom: {
    50: '#664f6c',
    500: '#2b0f35',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f35;
$custom-light: #664f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f35",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 284.211,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23261,
    "c": 0.07627,
    "h": 316.2
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#2B0F35
secondary
#416F31
accent
#DF4970
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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