#28083A#28083A

#28083A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.092 H 310.1°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#28083A
RGBrgb(40, 8, 58)
HSLhsl(278, 76%, 13%)
HSVhsv(278, 86%, 23%)
CMYKcmyk(31%, 86.2%, 0%, 77.3%)
CIE-LABlab(8.40, 26.25, -24.92)
CIE-LCHlch(8.40, 36.20, 316.49°)
OKLaboklab(22.21% 0.0594 -0.0706)
OKLCHoklch(22.21% 0.092 310.1)
XYZxyz(1.7255, 0.9303, 4.0908)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28083A #1A3A08
analogous
#0F083A #28083A #3A0833
triadic
#28083A #3A2808 #083A28
tetradic
#28083A #3A0F08 #1A3A08 #08333A
square
#28083A #3A0F08 #1A3A08 #08333A
split-complementary
#28083A #333A08 #083A0F
monochromatic
#13041B #13041B #28083A #4D0F70 #7217A6

Accessibility & contrast

On white

17.71
#28083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#28083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28083A
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28083A#FFFFFF#000000##FFFFFF
##28083A1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#011939
Tritanopia (blue-blind)
#251420
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28083a;
/* rgb */ color: rgb(40, 8, 58);
/* oklch */ color: oklch(22.2% 0.092 310.1);
Tailwind
colors: {
  custom: {
    50: '#654b70',
    500: '#28083a',
    950: '#000000',
  },
}
SCSS
$custom: #28083a;
$custom-light: #654b70;
$custom-dark: #000000;
JSON
{
  "hex": "#28083a",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 278.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22207,
    "c": 0.0923,
    "h": 310.1
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#28083A
secondary
#437925
accent
#F23579
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #28083A

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

Preview Lab → · Contrast checker → · Palette generator →

#28083A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva