#2B083A#2B083A

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

Color values

HEX#2B083A
RGBrgb(43, 8, 58)
HSLhsl(282, 76%, 13%)
HSVhsv(282, 86%, 23%)
CMYKcmyk(25.9%, 86.2%, 0%, 77.3%)
CIE-LABlab(8.93, 26.95, -24.03)
CIE-LCHlch(8.93, 36.11, 318.28°)
OKLaboklab(22.7% 0.0642 -0.0679)
OKLCHoklch(22.7% 0.093 313.4)
XYZxyz(1.8467, 0.9928, 4.0965)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B083A #173A08
analogous
#12083A #2B083A #3A0830
triadic
#2B083A #3A2B08 #083A2B
tetradic
#2B083A #3A1208 #173A08 #08303A
square
#2B083A #3A1208 #173A08 #08303A
split-complementary
#2B083A #303A08 #083A12
monochromatic
#14041B #14041B #2B083A #530F70 #7B17A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B083A#FFFFFF#000000##FFFFFF
##2B083A1.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)
#00183B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#291320
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2b083a;
/* rgb */ color: rgb(43, 8, 58);
/* oklch */ color: oklch(22.7% 0.093 313.4);
Tailwind
colors: {
  custom: {
    50: '#674b70',
    500: '#2b083a',
    950: '#000000',
  },
}
SCSS
$custom: #2b083a;
$custom-light: #674b70;
$custom-dark: #000000;
JSON
{
  "hex": "#2b083a",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 282,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22695,
    "c": 0.09345,
    "h": 313.4
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#2B083A
secondary
#3E7925
accent
#F2356E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #2B083A

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

Preview Lab → · Contrast checker → · Palette generator →

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