#28073C#28073C

#28073C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.096 H 308.8°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#28073C
RGBrgb(40, 7, 60)
HSLhsl(277, 79%, 13%)
HSVhsv(277, 88%, 24%)
CMYKcmyk(33.3%, 88.3%, 0%, 76.5%)
CIE-LABlab(8.39, 27.32, -26.38)
CIE-LCHlch(8.39, 37.98, 316.01°)
OKLaboklab(22.26% 0.0602 -0.0749)
OKLCHoklch(22.26% 0.096 308.8)
XYZxyz(1.7665, 0.9293, 4.3604)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28073C #1B3C07
analogous
#0D073C #28073C #3C0735
triadic
#28073C #3C2807 #073C28
tetradic
#28073C #3C0D07 #1B3C07 #07353C
square
#28073C #3C0D07 #1B3C07 #07353C
split-complementary
#28073C #353C07 #073C0D
monochromatic
#12031B #12031B #28073C #4D0D73 #7114AA

Accessibility & contrast

On white

17.71
#28073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28073C
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28073C#FFFFFF#000000##FFFFFF
##28073C1.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28073c;
/* rgb */ color: rgb(40, 7, 60);
/* oklch */ color: oklch(22.3% 0.096 308.8);
Tailwind
colors: {
  custom: {
    50: '#654b72',
    500: '#28073c',
    950: '#000000',
  },
}
SCSS
$custom: #28073c;
$custom-light: #654b72;
$custom-dark: #000000;
JSON
{
  "hex": "#28073c",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 277.358,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.22258,
    "c": 0.09609,
    "h": 308.8
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#28073C
secondary
#457B23
accent
#F6327C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28073C

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

Preview Lab → · Contrast checker → · Palette generator →

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