#28083E#28083E

#28083E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.097 H 307.1°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#28083E
RGBrgb(40, 8, 62)
HSLhsl(276, 77%, 14%)
HSVhsv(276, 87%, 24%)
CMYKcmyk(35.5%, 87.1%, 0%, 75.7%)
CIE-LABlab(8.76, 27.31, -27.21)
CIE-LCHlch(8.76, 38.55, 315.11°)
OKLaboklab(22.58% 0.0584 -0.0773)
OKLCHoklch(22.58% 0.097 307.1)
XYZxyz(1.8312, 0.9726, 4.6478)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28083E #1E3E08
analogous
#0D083E #28083E #3E0839
triadic
#28083E #3E2808 #083E28
tetradic
#28083E #3E0D08 #1E3E08 #08393E
square
#28083E #3E0D08 #1E3E08 #08393E
split-complementary
#28083E #393E08 #083E0D
monochromatic
#11031B #11031B #28083E #4B0F74 #6E16AA

Accessibility & contrast

On white

17.58
#28083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28083E
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28083E#FFFFFF#000000##FFFFFF
##28083E1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#241523
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28083e;
/* rgb */ color: rgb(40, 8, 62);
/* oklch */ color: oklch(22.6% 0.097 307.1);
Tailwind
colors: {
  custom: {
    50: '#654b74',
    500: '#28083e',
    950: '#000000',
  },
}
SCSS
$custom: #28083e;
$custom-light: #654b74;
$custom-dark: #000000;
JSON
{
  "hex": "#28083e",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 275.556,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22578,
    "c": 0.09694,
    "h": 307.1
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#28083E
secondary
#497D25
accent
#F43482
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28083E

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

Preview Lab → · Contrast checker → · Palette generator →

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