#28073D#28073D

#28073D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.097 H 308.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#28073D
RGBrgb(40, 7, 61)
HSLhsl(277, 79%, 13%)
HSVhsv(277, 89%, 24%)
CMYKcmyk(34.4%, 88.5%, 0%, 76.1%)
CIE-LABlab(8.48, 27.58, -26.94)
CIE-LCHlch(8.48, 38.56, 315.67°)
OKLaboklab(22.35% 0.0599 -0.0766)
OKLCHoklch(22.35% 0.097 308)
XYZxyz(1.7932, 0.9400, 4.5010)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28073D #1C3D07
analogous
#0D073D #28073D #3D0737
triadic
#28073D #3D2807 #073D28
tetradic
#28073D #3D0D07 #1C3D07 #07373D
square
#28073D #3D0D07 #1C3D07 #07373D
split-complementary
#28073D #373D07 #073D0D
monochromatic
#12031B #12031B #28073D #4C0D74 #7014AB

Accessibility & contrast

On white

17.68
#28073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28073D
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28073D#FFFFFF#000000##FFFFFF
##28073D1.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#251422
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28073d;
/* rgb */ color: rgb(40, 7, 61);
/* oklch */ color: oklch(22.4% 0.097 308.0);
Tailwind
colors: {
  custom: {
    50: '#654b73',
    500: '#28073d',
    950: '#000000',
  },
}
SCSS
$custom: #28073d;
$custom-light: #654b73;
$custom-dark: #000000;
JSON
{
  "hex": "#28073d",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 276.667,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22353,
    "c": 0.09723,
    "h": 308
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#28073D
secondary
#467C23
accent
#F6327E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28073D

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

Preview Lab → · Contrast checker → · Palette generator →

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