#28083C#28083C

#28083C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.095 H 308.5°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#28083C
RGBrgb(40, 8, 60)
HSLhsl(277, 76%, 13%)
HSVhsv(277, 87%, 24%)
CMYKcmyk(33.3%, 86.7%, 0%, 76.5%)
CIE-LABlab(8.58, 26.78, -26.07)
CIE-LCHlch(8.58, 37.37, 315.77°)
OKLaboklab(22.39% 0.0589 -0.074)
OKLCHoklch(22.39% 0.095 308.5)
XYZxyz(1.7773, 0.9511, 4.3640)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28083C #1C3C08
analogous
#0E083C #28083C #3C0836
triadic
#28083C #3C2808 #083C28
tetradic
#28083C #3C0E08 #1C3C08 #08363C
square
#28083C #3C0E08 #1C3C08 #08363C
split-complementary
#28083C #363C08 #083C0E
monochromatic
#12041B #12041B #28083C #4C0F72 #7016A8

Accessibility & contrast

On white

17.64
#28083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28083C
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28083C#FFFFFF#000000##FFFFFF
##28083C1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#251521
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28083c;
/* rgb */ color: rgb(40, 8, 60);
/* oklch */ color: oklch(22.4% 0.095 308.5);
Tailwind
colors: {
  custom: {
    50: '#654b72',
    500: '#28083c',
    950: '#000000',
  },
}
SCSS
$custom: #28083c;
$custom-light: #654b72;
$custom-dark: #000000;
JSON
{
  "hex": "#28083c",
  "rgb": {
    "r": 40,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 276.923,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22391,
    "c": 0.09461,
    "h": 308.5
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#28083C
secondary
#467B25
accent
#F3357E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28083C

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

Preview Lab → · Contrast checker → · Palette generator →

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