#2A083B#2A083B

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

Color values

HEX#2A083B
RGBrgb(42, 8, 59)
HSLhsl(280, 76%, 13%)
HSVhsv(280, 86%, 23%)
CMYKcmyk(28.8%, 86.4%, 0%, 76.9%)
CIE-LABlab(8.84, 26.97, -24.91)
CIE-LCHlch(8.84, 36.72, 317.27°)
OKLaboklab(22.62% 0.0624 -0.0705)
OKLCHoklch(22.62% 0.094 311.5)
XYZxyz(1.8309, 0.9817, 4.2299)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A083B #193B08
analogous
#10083B #2A083B #3B0832
triadic
#2A083B #3B2A08 #083B2A
tetradic
#2A083B #3B1008 #193B08 #08323B
square
#2A083B #3B1008 #193B08 #08323B
split-complementary
#2A083B #323B08 #083B10
monochromatic
#13041B #13041B #2A083B #500F71 #7717A7

Accessibility & contrast

On white

17.55
#2A083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A083B
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A083B#FFFFFF#000000##FFFFFF
##2A083B1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#021A3A
Tritanopia (blue-blind)
#281421
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2a083b;
/* rgb */ color: rgb(42, 8, 59);
/* oklch */ color: oklch(22.6% 0.094 311.5);
Tailwind
colors: {
  custom: {
    50: '#664b71',
    500: '#2a083b',
    950: '#000000',
  },
}
SCSS
$custom: #2a083b;
$custom-light: #664b71;
$custom-dark: #000000;
JSON
{
  "hex": "#2a083b",
  "rgb": {
    "r": 42,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 280,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2262,
    "c": 0.09417,
    "h": 311.5
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#2A083B
secondary
#417A25
accent
#F33574
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A083B

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

Preview Lab → · Contrast checker → · Palette generator →

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