#2B083B#2B083B

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

Color values

HEX#2B083B
RGBrgb(43, 8, 59)
HSLhsl(281, 76%, 13%)
HSVhsv(281, 86%, 23%)
CMYKcmyk(27.1%, 86.4%, 0%, 76.9%)
CIE-LABlab(9.02, 27.21, -24.61)
CIE-LCHlch(9.02, 36.69, 317.86°)
OKLaboklab(22.78% 0.064 -0.0696)
OKLCHoklch(22.78% 0.095 312.6)
XYZxyz(1.8724, 1.0031, 4.2318)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B083B #183B08
analogous
#11083B #2B083B #3B0831
triadic
#2B083B #3B2B08 #083B2B
tetradic
#2B083B #3B1108 #183B08 #08313B
square
#2B083B #3B1108 #183B08 #08313B
split-complementary
#2B083B #313B08 #083B11
monochromatic
#14041B #14041B #2B083B #520F71 #7A17A7

Accessibility & contrast

On white

17.49
#2B083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B083B
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B083B#FFFFFF#000000##FFFFFF
##2B083B1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#291421
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b083b;
/* rgb */ color: rgb(43, 8, 59);
/* oklch */ color: oklch(22.8% 0.095 312.6);
Tailwind
colors: {
  custom: {
    50: '#674b71',
    500: '#2b083b',
    950: '#000000',
  },
}
SCSS
$custom: #2b083b;
$custom-light: #674b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2b083b",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 281.176,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22783,
    "c": 0.09456,
    "h": 312.6
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#2B083B
secondary
#407A25
accent
#F33571
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B083B

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

Preview Lab → · Contrast checker → · Palette generator →

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