#28073F#28073F

#28073F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.100 H 306.6°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#28073F
RGBrgb(40, 7, 63)
HSLhsl(275, 80%, 14%)
HSVhsv(275, 89%, 25%)
CMYKcmyk(36.5%, 88.9%, 0%, 75.3%)
CIE-LABlab(8.67, 28.11, -28.07)
CIE-LCHlch(8.67, 39.72, 315.05°)
OKLaboklab(22.54% 0.0594 -0.0799)
OKLCHoklch(22.54% 0.1 306.6)
XYZxyz(1.8481, 0.9620, 4.7900)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28073F #1E3F07
analogous
#0C073F #28073F #3F073A
triadic
#28073F #3F2807 #073F28
tetradic
#28073F #3F0C07 #1E3F07 #073A3F
square
#28073F #3F0C07 #1E3F07 #073A3F
split-complementary
#28073F #3A3F07 #073F0C
monochromatic
#11031C #11031C #28073F #4B0D76 #6E13AD

Accessibility & contrast

On white

17.61
#28073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28073F
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28073F#FFFFFF#000000##FFFFFF
##28073F1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#241523
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28073f;
/* rgb */ color: rgb(40, 7, 63);
/* oklch */ color: oklch(22.5% 0.100 306.6);
Tailwind
colors: {
  custom: {
    50: '#654b74',
    500: '#28073f',
    950: '#000000',
  },
}
SCSS
$custom: #28073f;
$custom-light: #654b74;
$custom-dark: #000000;
JSON
{
  "hex": "#28073f",
  "rgb": {
    "r": 40,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 275.357,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22544,
    "c": 0.09951,
    "h": 306.6
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#28073F
secondary
#497E24
accent
#F63182
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28073F

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

Preview Lab → · Contrast checker → · Palette generator →

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