#2B0E37#2B0E37

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

Color values

HEX#2B0E37
RGBrgb(43, 14, 55)
HSLhsl(282, 59%, 14%)
HSVhsv(282, 75%, 22%)
CMYKcmyk(21.8%, 74.5%, 0%, 78.4%)
CIE-LABlab(9.83, 23.00, -20.42)
CIE-LCHlch(9.83, 30.76, 318.40°)
OKLaboklab(23.26% 0.0565 -0.0574)
OKLCHoklch(23.26% 0.081 314.6)
XYZxyz(1.8428, 1.1036, 3.7296)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E37 #1A370E
analogous
#160E37 #2B0E37 #370E2E
triadic
#2B0E37 #372B0E #0E372B
tetradic
#2B0E37 #37160E #1A370E #0E2E37
square
#2B0E37 #37160E #1A370E #0E2E37
split-complementary
#2B0E37 #2E370E #0E3716
monochromatic
#130618 #130618 #2B0E37 #511A68 #772799

Accessibility & contrast

On white

17.20
#2B0E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0E37
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E37#FFFFFF#000000##FFFFFF
##2B0E371.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021938
Deuteranopia (green-blind)
#0D1C36
Tritanopia (blue-blind)
#2A1620
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0e37;
/* rgb */ color: rgb(43, 14, 55);
/* oklch */ color: oklch(23.3% 0.081 314.6);
Tailwind
colors: {
  custom: {
    50: '#664f6e',
    500: '#2b0e37',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e37;
$custom-light: #664f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e37",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 55
  },
  "hsl": {
    "h": 282.439,
    "s": 59.42,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23258,
    "c": 0.08053,
    "h": 314.6
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#2B0E37
secondary
#43722F
accent
#E34573
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2B0E37

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

Preview Lab → · Contrast checker → · Palette generator →

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