#28063F#28063F

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

Color values

HEX#28063F
RGBrgb(40, 6, 63)
HSLhsl(276, 83%, 14%)
HSVhsv(276, 90%, 25%)
CMYKcmyk(36.5%, 90.5%, 0%, 75.3%)
CIE-LABlab(8.48, 28.65, -28.37)
CIE-LCHlch(8.48, 40.32, 315.28°)
OKLaboklab(22.41% 0.0606 -0.0807)
OKLCHoklch(22.41% 0.101 306.9)
XYZxyz(1.8372, 0.9403, 4.7864)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28063F #1D3F06
analogous
#0B063F #28063F #3F0639
triadic
#28063F #3F2806 #063F28
tetradic
#28063F #3F0B06 #1D3F06 #06393F
square
#28063F #3F0B06 #1D3F06 #06393F
split-complementary
#28063F #393F06 #063F0B
monochromatic
#12031C #12031C #28063F #4B0B77 #6F11AF

Accessibility & contrast

On white

17.68
#28063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28063F
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28063F#FFFFFF#000000##FFFFFF
##28063F1.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)
#001741
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#241523
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #28063f;
/* rgb */ color: rgb(40, 6, 63);
/* oklch */ color: oklch(22.4% 0.101 306.9);
Tailwind
colors: {
  custom: {
    50: '#654a75',
    500: '#28063f',
    950: '#000000',
  },
}
SCSS
$custom: #28063f;
$custom-light: #654a75;
$custom-dark: #000000;
JSON
{
  "hex": "#28063f",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 275.789,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22414,
    "c": 0.10094,
    "h": 306.9
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#28063F
secondary
#477F22
accent
#F92F80
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28063F

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

Preview Lab → · Contrast checker → · Palette generator →

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