#28084B#28084B

#28084B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.112 H 298.9°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#28084B
RGBrgb(40, 8, 75)
HSLhsl(269, 81%, 16%)
HSVhsv(269, 89%, 29%)
CMYKcmyk(46.7%, 89.3%, 0%, 70.6%)
CIE-LABlab(10.05, 30.88, -34.26)
CIE-LCHlch(10.05, 46.13, 312.03°)
OKLaboklab(23.88% 0.0542 -0.0981)
OKLCHoklch(23.88% 0.112 298.9)
XYZxyz(2.2316, 1.1327, 6.7563)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28084B #2B4B08
analogous
#08094B #28084B #4A084B
triadic
#28084B #4B2808 #084B28
tetradic
#28084B #4B0809 #2B4B08 #084B4A
square
#28084B #4B0809 #2B4B08 #084B4A
split-complementary
#28084B #4B4A08 #094B08
monochromatic
#0F031C #0F031C #28084B #450E82 #6314BA

Accessibility & contrast

On white

17.12
#28084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#28084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28084B
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28084B#FFFFFF#000000##FFFFFF
##28084B1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#001B4A
Tritanopia (blue-blind)
#1F1B2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #28084b;
/* rgb */ color: rgb(40, 8, 75);
/* oklch */ color: oklch(23.9% 0.112 298.9);
Tailwind
colors: {
  custom: {
    50: '#674c7e',
    500: '#28084b',
    950: '#000000',
  },
}
SCSS
$custom: #28084b;
$custom-light: #674c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#28084b",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 268.657,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23877,
    "c": 0.11206,
    "h": 298.9
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#28084B
secondary
#5A8926
accent
#F73198
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #28084B

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

Preview Lab → · Contrast checker → · Palette generator →

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