#2B0427#2B0427

#2B0427 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.081 H 332.6°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#2B0427
RGBrgb(43, 4, 39)
HSLhsl(306, 83%, 9%)
HSVhsv(306, 91%, 17%)
CMYKcmyk(0%, 90.7%, 9.3%, 83.1%)
CIE-LABlab(6.75, 24.69, -13.45)
CIE-LCHlch(6.75, 28.12, 331.41°)
OKLaboklab(20.63% 0.072 -0.0373)
OKLCHoklch(20.63% 0.081 332.6)
XYZxyz(1.4059, 0.7470, 1.9892)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0427 #042B08
analogous
#1C042B #2B0427 #2B0414
triadic
#2B0427 #272B04 #04272B
tetradic
#2B0427 #2B1C04 #042B08 #04142B
square
#2B0427 #2B1C04 #042B08 #04142B
split-complementary
#2B0427 #142B04 #042B1C
monochromatic
#1C0319 #1C0319 #2B0427 #63095A #9B0E8D

Accessibility & contrast

On white

18.27
#2B0427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2B0427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0427
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0427#FFFFFF#000000##FFFFFF
##2B04271.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031128
Deuteranopia (green-blind)
#101726
Tritanopia (blue-blind)
#2D0714
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2b0427;
/* rgb */ color: rgb(43, 4, 39);
/* oklch */ color: oklch(20.6% 0.081 332.6);
Tailwind
colors: {
  custom: {
    50: '#664861',
    500: '#2b0427',
    950: '#000000',
  },
}
SCSS
$custom: #2b0427;
$custom-light: #664861;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0427",
  "rgb": {
    "r": 43,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 306.154,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20625,
    "c": 0.08108,
    "h": 332.6
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#2B0427
secondary
#1D6E25
accent
#F9432E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060105
muted
#7A7779

Preview Lab

Preview with #2B0427

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

Preview Lab → · Contrast checker → · Palette generator →

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