#2B0638#2B0638

#2B0638 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.094 H 315.5°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#2B0638
RGBrgb(43, 6, 56)
HSLhsl(284, 81%, 12%)
HSVhsv(284, 89%, 22%)
CMYKcmyk(23.2%, 89.3%, 0%, 78%)
CIE-LABlab(8.39, 27.53, -23.46)
CIE-LCHlch(8.39, 36.17, 319.57°)
OKLaboklab(22.26% 0.0673 -0.0662)
OKLCHoklch(22.26% 0.094 315.5)
XYZxyz(1.7751, 0.9294, 3.8265)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0638 #133806
analogous
#120638 #2B0638 #38062C
triadic
#2B0638 #382B06 #06382B
tetradic
#2B0638 #381206 #133806 #062C38
square
#2B0638 #381206 #133806 #062C38
split-complementary
#2B0638 #2C3806 #063812
monochromatic
#15031C #15031C #2B0638 #550C6F #8012A7

Accessibility & contrast

On white

17.71
#2B0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0638
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0638#FFFFFF#000000##FFFFFF
##2B06381.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001639
Deuteranopia (green-blind)
#051937
Tritanopia (blue-blind)
#2A111F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0638;
/* rgb */ color: rgb(43, 6, 56);
/* oklch */ color: oklch(22.3% 0.094 315.5);
Tailwind
colors: {
  custom: {
    50: '#674a6f',
    500: '#2b0638',
    950: '#000000',
  },
}
SCSS
$custom: #2b0638;
$custom-light: #674a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0638",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 284.4,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22258,
    "c": 0.09437,
    "h": 315.5
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#2B0638
secondary
#387821
accent
#F73164
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0638

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

Preview Lab → · Contrast checker → · Palette generator →

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