#2B073A#2B073A

#2B073A is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.095 H 313.6°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#2B073A
RGBrgb(43, 7, 58)
HSLhsl(282, 78%, 13%)
HSVhsv(282, 88%, 23%)
CMYKcmyk(25.9%, 87.9%, 0%, 77.3%)
CIE-LABlab(8.75, 27.48, -24.33)
CIE-LCHlch(8.75, 36.70, 318.48°)
OKLaboklab(22.57% 0.0655 -0.0688)
OKLCHoklch(22.57% 0.095 313.6)
XYZxyz(1.8358, 0.9711, 4.0929)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B073A #163A07
analogous
#11073A #2B073A #3A072F
triadic
#2B073A #3A2B07 #073A2B
tetradic
#2B073A #3A1107 #163A07 #072F3A
square
#2B073A #3A1107 #163A07 #072F3A
split-complementary
#2B073A #2F3A07 #073A11
monochromatic
#14031B #14031B #2B073A #530E71 #7C14A7

Accessibility & contrast

On white

17.58
#2B073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B073A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B073A#FFFFFF#000000##FFFFFF
##2B073A1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#031A39
Tritanopia (blue-blind)
#291320
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b073a;
/* rgb */ color: rgb(43, 7, 58);
/* oklch */ color: oklch(22.6% 0.095 313.6);
Tailwind
colors: {
  custom: {
    50: '#674b70',
    500: '#2b073a',
    950: '#000000',
  },
}
SCSS
$custom: #2b073a;
$custom-light: #674b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b073a",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 282.353,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22566,
    "c": 0.09496,
    "h": 313.6
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#2B073A
secondary
#3D7923
accent
#F5336C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B073A

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

Preview Lab → · Contrast checker → · Palette generator →

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