#2B073C#2B073C

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

Color values

HEX#2B073C
RGBrgb(43, 7, 60)
HSLhsl(281, 79%, 13%)
HSVhsv(281, 88%, 24%)
CMYKcmyk(28.3%, 88.3%, 0%, 76.5%)
CIE-LABlab(8.92, 27.98, -25.48)
CIE-LCHlch(8.92, 37.85, 317.67°)
OKLaboklab(22.74% 0.0651 -0.0722)
OKLCHoklch(22.74% 0.097 312)
XYZxyz(1.8877, 0.9918, 4.3661)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B073C #183C07
analogous
#11073C #2B073C #3C0732
triadic
#2B073C #3C2B07 #073C2B
tetradic
#2B073C #3C1107 #183C07 #07323C
square
#2B073C #3C1107 #183C07 #07323C
split-complementary
#2B073C #323C07 #073C11
monochromatic
#14031B #14031B #2B073C #520D73 #7A14AA

Accessibility & contrast

On white

17.52
#2B073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B073C
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B073C#FFFFFF#000000##FFFFFF
##2B073C1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#011A3B
Tritanopia (blue-blind)
#291421
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b073c;
/* rgb */ color: rgb(43, 7, 60);
/* oklch */ color: oklch(22.7% 0.097 312.0);
Tailwind
colors: {
  custom: {
    50: '#674b72',
    500: '#2b073c',
    950: '#000000',
  },
}
SCSS
$custom: #2b073c;
$custom-light: #674b72;
$custom-dark: #000000;
JSON
{
  "hex": "#2b073c",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 280.755,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22744,
    "c": 0.09714,
    "h": 312
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#2B073C
secondary
#407B23
accent
#F63271
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B073C

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

Preview Lab → · Contrast checker → · Palette generator →

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