#28083B#28083B

#28083B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.093 H 309.3°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#28083B
RGBrgb(40, 8, 59)
HSLhsl(278, 76%, 13%)
HSVhsv(278, 86%, 23%)
CMYKcmyk(32.2%, 86.4%, 0%, 76.9%)
CIE-LABlab(8.49, 26.51, -25.50)
CIE-LCHlch(8.49, 36.78, 316.12°)
OKLaboklab(22.3% 0.0592 -0.0723)
OKLCHoklch(22.3% 0.093 309.3)
XYZxyz(1.7512, 0.9406, 4.2261)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28083B #1B3B08
analogous
#0E083B #28083B #3B0834
triadic
#28083B #3B2808 #083B28
tetradic
#28083B #3B0E08 #1B3B08 #08343B
square
#28083B #3B0E08 #1B3B08 #08343B
split-complementary
#28083B #343B08 #083B0E
monochromatic
#12041B #12041B #28083B #4D0F71 #7117A7

Accessibility & contrast

On white

17.67
#28083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28083B
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28083B#FFFFFF#000000##FFFFFF
##28083B1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#251421
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28083b;
/* rgb */ color: rgb(40, 8, 59);
/* oklch */ color: oklch(22.3% 0.093 309.3);
Tailwind
colors: {
  custom: {
    50: '#654b71',
    500: '#28083b',
    950: '#000000',
  },
}
SCSS
$custom: #28083b;
$custom-light: #654b71;
$custom-dark: #000000;
JSON
{
  "hex": "#28083b",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 277.647,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22299,
    "c": 0.09346,
    "h": 309.3
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#28083B
secondary
#457A25
accent
#F3357C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28083B

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

Preview Lab → · Contrast checker → · Palette generator →

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