#2B0934#2B0934

#2B0934 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.085 H 318.4°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#2B0934
RGBrgb(43, 9, 52)
HSLhsl(287, 70%, 12%)
HSVhsv(287, 83%, 20%)
CMYKcmyk(17.3%, 82.7%, 0%, 79.6%)
CIE-LABlab(8.63, 24.95, -20.16)
CIE-LCHlch(8.63, 32.08, 321.06°)
OKLaboklab(22.32% 0.0637 -0.0566)
OKLCHoklch(22.32% 0.085 318.4)
XYZxyz(1.7137, 0.9570, 3.3426)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0934 #123409
analogous
#160934 #2B0934 #340928
triadic
#2B0934 #342B09 #09342B
tetradic
#2B0934 #341609 #123409 #092834
square
#2B0934 #341609 #123409 #092834
split-complementary
#2B0934 #283409 #093416
monochromatic
#16051A #16051A #2B0934 #561268 #811B9C

Accessibility & contrast

On white

17.63
#2B0934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2B0934 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0934
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0934#FFFFFF#000000##FFFFFF
##2B09341.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001735
Deuteranopia (green-blind)
#0B1A33
Tritanopia (blue-blind)
#2B111D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0934;
/* rgb */ color: rgb(43, 9, 52);
/* oklch */ color: oklch(22.3% 0.085 318.4);
Tailwind
colors: {
  custom: {
    50: '#664c6c',
    500: '#2b0934',
    950: '#000000',
  },
}
SCSS
$custom: #2b0934;
$custom-light: #664c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0934",
  "rgb": {
    "r": 43,
    "g": 9,
    "b": 52
  },
  "hsl": {
    "h": 287.442,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22324,
    "c": 0.08517,
    "h": 318.4
  },
  "luminance": 0.00957
}

Semantic roles & 50–950 ramp

primary
#2B0934
secondary
#367227
accent
#ED3B60
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0934

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

Preview Lab → · Contrast checker → · Palette generator →

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