#28093F#28093F

#28093F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.097 H 306.1°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#28093F
RGBrgb(40, 9, 63)
HSLhsl(274, 75%, 14%)
HSVhsv(274, 86%, 25%)
CMYKcmyk(36.5%, 85.7%, 0%, 75.3%)
CIE-LABlab(9.04, 27.06, -27.47)
CIE-LCHlch(9.04, 38.56, 314.57°)
OKLaboklab(22.8% 0.057 -0.0781)
OKLCHoklch(22.8% 0.097 306.1)
XYZxyz(1.8698, 1.0054, 4.7972)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28093F #203F09
analogous
#0D093F #28093F #3F093B
triadic
#28093F #3F2809 #093F28
tetradic
#28093F #3F0D09 #203F09 #093B3F
square
#28093F #3F0D09 #203F09 #093B3F
split-complementary
#28093F #3B3F09 #093F0D
monochromatic
#11041B #11041B #28093F #4A1175 #6C18AA

Accessibility & contrast

On white

17.49
#28093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#28093F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28093F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28093F#FFFFFF#000000##FFFFFF
##28093F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001941
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#241623
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #28093f;
/* rgb */ color: rgb(40, 9, 63);
/* oklch */ color: oklch(22.8% 0.097 306.1);
Tailwind
colors: {
  custom: {
    50: '#654c74',
    500: '#28093f',
    950: '#000000',
  },
}
SCSS
$custom: #28093f;
$custom-light: #654c74;
$custom-dark: #000000;
JSON
{
  "hex": "#28093f",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 274.444,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22801,
    "c": 0.09671,
    "h": 306.1
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#28093F
secondary
#4C7D27
accent
#F23686
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28093F

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

Preview Lab → · Contrast checker → · Palette generator →

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