#2B0739#2B0739

#2B0739 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.094 H 314.4°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#2B0739
RGBrgb(43, 7, 57)
HSLhsl(283, 78%, 13%)
HSVhsv(283, 88%, 22%)
CMYKcmyk(24.6%, 87.7%, 0%, 77.6%)
CIE-LABlab(8.66, 27.23, -23.74)
CIE-LCHlch(8.66, 36.13, 318.92°)
OKLaboklab(22.48% 0.0657 -0.067)
OKLCHoklch(22.48% 0.094 314.4)
XYZxyz(1.8106, 0.9610, 3.9602)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0739 #153907
analogous
#120739 #2B0739 #39072E
triadic
#2B0739 #392B07 #07392B
tetradic
#2B0739 #391207 #153907 #072E39
square
#2B0739 #391207 #153907 #072E39
split-complementary
#2B0739 #2E3907 #073912
monochromatic
#15031B #15031B #2B0739 #540E70 #7D14A6

Accessibility & contrast

On white

17.61
#2B0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0739
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0739#FFFFFF#000000##FFFFFF
##2B07391.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#051A38
Tritanopia (blue-blind)
#2A121F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b0739;
/* rgb */ color: rgb(43, 7, 57);
/* oklch */ color: oklch(22.5% 0.094 314.4);
Tailwind
colors: {
  custom: {
    50: '#674b70',
    500: '#2b0739',
    950: '#000000',
  },
}
SCSS
$custom: #2b0739;
$custom-light: #674b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0739",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 283.2,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22478,
    "c": 0.09387,
    "h": 314.4
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#2B0739
secondary
#3B7923
accent
#F53369
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B0739

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

Preview Lab → · Contrast checker → · Palette generator →

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