#2B0735#2B0735

#2B0735 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.090 H 317.8°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#2B0735
RGBrgb(43, 7, 53)
HSLhsl(287, 77%, 12%)
HSVhsv(287, 87%, 21%)
CMYKcmyk(18.9%, 86.8%, 0%, 79.2%)
CIE-LABlab(8.33, 26.27, -21.37)
CIE-LCHlch(8.33, 33.86, 320.87°)
OKLaboklab(22.14% 0.0664 -0.0601)
OKLCHoklch(22.14% 0.09 317.8)
XYZxyz(1.7148, 0.9227, 3.4552)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0735 #113507
analogous
#140735 #2B0735 #350728
triadic
#2B0735 #352B07 #07352B
tetradic
#2B0735 #351407 #113507 #072835
square
#2B0735 #351407 #113507 #072835
split-complementary
#2B0735 #283507 #073514
monochromatic
#16041B #16041B #2B0735 #570E6B #8315A1

Accessibility & contrast

On white

17.73
#2B0735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0735
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0735#FFFFFF#000000##FFFFFF
##2B07351.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b0735;
/* rgb */ color: rgb(43, 7, 53);
/* oklch */ color: oklch(22.1% 0.090 317.8);
Tailwind
colors: {
  custom: {
    50: '#664b6c',
    500: '#2b0735',
    950: '#000000',
  },
}
SCSS
$custom: #2b0735;
$custom-light: #664b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0735",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 286.957,
    "s": 76.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22137,
    "c": 0.08952,
    "h": 317.8
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#2B0735
secondary
#357523
accent
#F3355E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0735

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

Preview Lab → · Contrast checker → · Palette generator →

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