#2B0F37#2B0F37

#2B0F37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.079 H 314.3°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2B0F37
RGBrgb(43, 15, 55)
HSLhsl(282, 57%, 14%)
HSVhsv(282, 73%, 22%)
CMYKcmyk(21.8%, 72.7%, 0%, 78.4%)
CIE-LABlab(10.04, 22.42, -20.08)
CIE-LCHlch(10.04, 30.10, 318.15°)
OKLaboklab(23.41% 0.055 -0.0564)
OKLCHoklch(23.41% 0.079 314.3)
XYZxyz(1.8566, 1.1311, 3.7342)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F37 #1B370F
analogous
#170F37 #2B0F37 #370F2F
triadic
#2B0F37 #372B0F #0F372B
tetradic
#2B0F37 #37170F #1B370F #0F2F37
square
#2B0F37 #37170F #1B370F #0F2F37
split-complementary
#2B0F37 #2F370F #0F3717
monochromatic
#130718 #130718 #2B0F37 #511C67 #762997

Accessibility & contrast

On white

17.13
#2B0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B0F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F37
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F37#FFFFFF#000000##FFFFFF
##2B0F371.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031A38
Deuteranopia (green-blind)
#0E1C36
Tritanopia (blue-blind)
#2A1621
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0f37;
/* rgb */ color: rgb(43, 15, 55);
/* oklch */ color: oklch(23.4% 0.079 314.3);
Tailwind
colors: {
  custom: {
    50: '#664f6e',
    500: '#2b0f37',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f37;
$custom-light: #664f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f37",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 282,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23413,
    "c": 0.07878,
    "h": 314.3
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#2B0F37
secondary
#447131
accent
#E04775
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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