#28063D#28063D

#28063D is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.099 H 308.3°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#28063D
RGBrgb(40, 6, 61)
HSLhsl(277, 82%, 13%)
HSVhsv(277, 90%, 24%)
CMYKcmyk(34.4%, 90.2%, 0%, 76.1%)
CIE-LABlab(8.29, 28.13, -27.25)
CIE-LCHlch(8.29, 39.17, 315.91°)
OKLaboklab(22.22% 0.0612 -0.0775)
OKLCHoklch(22.22% 0.099 308.3)
XYZxyz(1.7823, 0.9183, 4.4973)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28063D #1B3D06
analogous
#0C063D #28063D #3D0636
triadic
#28063D #3D2806 #063D28
tetradic
#28063D #3D0C06 #1B3D06 #06363D
square
#28063D #3D0C06 #1B3D06 #06363D
split-complementary
#28063D #363D06 #063D0C
monochromatic
#12031C #12031C #28063D #4D0B75 #7111AC

Accessibility & contrast

On white

17.74
#28063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28063D
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28063D#FFFFFF#000000##FFFFFF
##28063D1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28063d;
/* rgb */ color: rgb(40, 6, 61);
/* oklch */ color: oklch(22.2% 0.099 308.3);
Tailwind
colors: {
  custom: {
    50: '#654a73',
    500: '#28063d',
    950: '#000000',
  },
}
SCSS
$custom: #28063d;
$custom-light: #654a73;
$custom-dark: #000000;
JSON
{
  "hex": "#28063d",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 277.091,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2222,
    "c": 0.09871,
    "h": 308.3
  },
  "luminance": 0.00918
}

Semantic roles & 50–950 ramp

primary
#28063D
secondary
#457D22
accent
#F82F7C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28063D

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

Preview Lab → · Contrast checker → · Palette generator →

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