#2B0635#2B0635

#2B0635 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.091 H 318.0°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#2B0635
RGBrgb(43, 6, 53)
HSLhsl(287, 80%, 12%)
HSVhsv(287, 89%, 21%)
CMYKcmyk(18.9%, 88.7%, 0%, 79.2%)
CIE-LABlab(8.14, 26.82, -21.68)
CIE-LCHlch(8.14, 34.48, 321.05°)
OKLaboklab(22% 0.0678 -0.061)
OKLCHoklch(22% 0.091 318)
XYZxyz(1.7039, 0.9010, 3.4516)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0635 #103506
analogous
#140635 #2B0635 #350628
triadic
#2B0635 #352B06 #06352B
tetradic
#2B0635 #351406 #103506 #062835
square
#2B0635 #351406 #103506 #062835
split-complementary
#2B0635 #283506 #063514
monochromatic
#16031B #16031B #2B0635 #580C6C #8412A3

Accessibility & contrast

On white

17.79
#2B0635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2B0635 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0635
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0635#FFFFFF#000000##FFFFFF
##2B06351.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#081934
Tritanopia (blue-blind)
#2B101D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2b0635;
/* rgb */ color: rgb(43, 6, 53);
/* oklch */ color: oklch(22.0% 0.091 318.0);
Tailwind
colors: {
  custom: {
    50: '#674a6c',
    500: '#2b0635',
    950: '#000000',
  },
}
SCSS
$custom: #2b0635;
$custom-light: #674a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0635",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 287.234,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22001,
    "c": 0.09118,
    "h": 318
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#2B0635
secondary
#337521
accent
#F6325B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0635

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

Preview Lab → · Contrast checker → · Palette generator →

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