#2B0738#2B0738

#2B0738 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.4% C 0.093 H 315.2°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#2B0738
RGBrgb(43, 7, 56)
HSLhsl(284, 78%, 12%)
HSVhsv(284, 88%, 22%)
CMYKcmyk(23.2%, 87.5%, 0%, 78%)
CIE-LABlab(8.58, 26.99, -23.16)
CIE-LCHlch(8.58, 35.56, 319.37°)
OKLaboklab(22.39% 0.0659 -0.0653)
OKLCHoklch(22.39% 0.093 315.2)
XYZxyz(1.7859, 0.9511, 3.8301)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0738 #143807
analogous
#130738 #2B0738 #38072C
triadic
#2B0738 #382B07 #07382B
tetradic
#2B0738 #381307 #143807 #072C38
square
#2B0738 #381307 #143807 #072C38
split-complementary
#2B0738 #2C3807 #073813
monochromatic
#15031B #15031B #2B0738 #550E6E #7F15A5

Accessibility & contrast

On white

17.64
#2B0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0738
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0738#FFFFFF#000000##FFFFFF
##2B07381.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#061A37
Tritanopia (blue-blind)
#2A121F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0738;
/* rgb */ color: rgb(43, 7, 56);
/* oklch */ color: oklch(22.4% 0.093 315.2);
Tailwind
colors: {
  custom: {
    50: '#674b6f',
    500: '#2b0738',
    950: '#000000',
  },
}
SCSS
$custom: #2b0738;
$custom-light: #674b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0738",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 284.082,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22391,
    "c": 0.09277,
    "h": 315.2
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#2B0738
secondary
#3A7823
accent
#F43467
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0738

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

Preview Lab → · Contrast checker → · Palette generator →

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