#2B073B#2B073B

#2B073B is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.096 H 312.8°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#2B073B
RGBrgb(43, 7, 59)
HSLhsl(282, 79%, 13%)
HSVhsv(282, 88%, 23%)
CMYKcmyk(27.1%, 88.1%, 0%, 76.9%)
CIE-LABlab(8.84, 27.73, -24.91)
CIE-LCHlch(8.84, 37.27, 318.07°)
OKLaboklab(22.65% 0.0653 -0.0705)
OKLCHoklch(22.65% 0.096 312.8)
XYZxyz(1.8615, 0.9814, 4.2282)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B073B #173B07
analogous
#11073B #2B073B #3B0731
triadic
#2B073B #3B2B07 #073B2B
tetradic
#2B073B #3B1107 #173B07 #07313B
square
#2B073B #3B1107 #173B07 #07313B
split-complementary
#2B073B #313B07 #073B11
monochromatic
#14031B #14031B #2B073B #530D72 #7B14A8

Accessibility & contrast

On white

17.56
#2B073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B073B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B073B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B073B#FFFFFF#000000##FFFFFF
##2B073B1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#021A3A
Tritanopia (blue-blind)
#291321
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b073b;
/* rgb */ color: rgb(43, 7, 59);
/* oklch */ color: oklch(22.7% 0.096 312.8);
Tailwind
colors: {
  custom: {
    50: '#674b71',
    500: '#2b073b',
    950: '#000000',
  },
}
SCSS
$custom: #2b073b;
$custom-light: #674b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b073b",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 281.538,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22654,
    "c": 0.09605,
    "h": 312.8
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#2B073B
secondary
#3E7A23
accent
#F5336E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B073B

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

Preview Lab → · Contrast checker → · Palette generator →

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