#2B083C#2B083C

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

Color values

HEX#2B083C
RGBrgb(43, 8, 60)
HSLhsl(280, 76%, 13%)
HSVhsv(280, 87%, 24%)
CMYKcmyk(28.3%, 86.7%, 0%, 76.5%)
CIE-LABlab(9.10, 27.46, -25.19)
CIE-LCHlch(9.10, 37.26, 317.46°)
OKLaboklab(22.87% 0.0638 -0.0713)
OKLCHoklch(22.87% 0.096 311.8)
XYZxyz(1.8986, 1.0136, 4.3697)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B083C #193C08
analogous
#11083C #2B083C #3C0833
triadic
#2B083C #3C2B08 #083C2B
tetradic
#2B083C #3C1108 #193C08 #08333C
square
#2B083C #3C1108 #193C08 #08333C
split-complementary
#2B083C #333C08 #083C11
monochromatic
#13041B #13041B #2B083C #520F72 #7816A8

Accessibility & contrast

On white

17.46
#2B083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B083C
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B083C#FFFFFF#000000##FFFFFF
##2B083C1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#291421
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b083c;
/* rgb */ color: rgb(43, 8, 60);
/* oklch */ color: oklch(22.9% 0.096 311.8);
Tailwind
colors: {
  custom: {
    50: '#674c72',
    500: '#2b083c',
    950: '#000000',
  },
}
SCSS
$custom: #2b083c;
$custom-light: #674c72;
$custom-dark: #000000;
JSON
{
  "hex": "#2b083c",
  "rgb": {
    "r": 43,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 280.385,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22871,
    "c": 0.09568,
    "h": 311.8
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#2B083C
secondary
#417B25
accent
#F33573
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B083C

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

Preview Lab → · Contrast checker → · Palette generator →

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