#28063C#28063C

#28063C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.098 H 309.0°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#28063C
RGBrgb(40, 6, 60)
HSLhsl(278, 82%, 13%)
HSVhsv(278, 90%, 24%)
CMYKcmyk(33.3%, 90%, 0%, 76.5%)
CIE-LABlab(8.20, 27.87, -26.69)
CIE-LCHlch(8.20, 38.59, 316.24°)
OKLaboklab(22.12% 0.0615 -0.0758)
OKLCHoklch(22.12% 0.098 309)
XYZxyz(1.7556, 0.9076, 4.3568)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28063C #1A3C06
analogous
#0D063C #28063C #3C0635
triadic
#28063C #3C2806 #063C28
tetradic
#28063C #3C0D06 #1A3C06 #06353C
square
#28063C #3C0D06 #1A3C06 #06353C
split-complementary
#28063C #353C06 #063C0D
monochromatic
#13031C #13031C #28063C #4D0C74 #7211AB

Accessibility & contrast

On white

17.77
#28063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#28063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28063C
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28063C#FFFFFF#000000##FFFFFF
##28063C1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28063c;
/* rgb */ color: rgb(40, 6, 60);
/* oklch */ color: oklch(22.1% 0.098 309.0);
Tailwind
colors: {
  custom: {
    50: '#654a72',
    500: '#28063c',
    950: '#000000',
  },
}
SCSS
$custom: #28063c;
$custom-light: #654a72;
$custom-dark: #000000;
JSON
{
  "hex": "#28063c",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 277.778,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22124,
    "c": 0.0976,
    "h": 309
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#28063C
secondary
#437C22
accent
#F8307A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28063C

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

Preview Lab → · Contrast checker → · Palette generator →

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