#28083F#28083F

#28083F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.098 H 306.4°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#28083F
RGBrgb(40, 8, 63)
HSLhsl(275, 77%, 14%)
HSVhsv(275, 87%, 25%)
CMYKcmyk(36.5%, 87.3%, 0%, 75.3%)
CIE-LABlab(8.85, 27.58, -27.77)
CIE-LCHlch(8.85, 39.14, 314.81°)
OKLaboklab(22.67% 0.0582 -0.079)
OKLCHoklch(22.67% 0.098 306.4)
XYZxyz(1.8589, 0.9837, 4.7936)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28083F #1F3F08
analogous
#0D083F #28083F #3F083B
triadic
#28083F #3F2808 #083F28
tetradic
#28083F #3F0D08 #1F3F08 #083B3F
square
#28083F #3F0D08 #1F3F08 #083B3F
split-complementary
#28083F #3B3F08 #083F0D
monochromatic
#11031B #11031B #28083F #4A0F75 #6D16AC

Accessibility & contrast

On white

17.55
#28083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#28083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28083F
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28083F#FFFFFF#000000##FFFFFF
##28083F1.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)
#001841
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#241623
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28083f;
/* rgb */ color: rgb(40, 8, 63);
/* oklch */ color: oklch(22.7% 0.098 306.4);
Tailwind
colors: {
  custom: {
    50: '#654b74',
    500: '#28083f',
    950: '#000000',
  },
}
SCSS
$custom: #28083f;
$custom-light: #654b74;
$custom-dark: #000000;
JSON
{
  "hex": "#28083f",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 274.909,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22673,
    "c": 0.0981,
    "h": 306.4
  },
  "luminance": 0.00984
}

Semantic roles & 50–950 ramp

primary
#28083F
secondary
#4A7E25
accent
#F43484
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28083F

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

Preview Lab → · Contrast checker → · Palette generator →

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