#28093B#28093B

#28093B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.092 H 309.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#28093B
RGBrgb(40, 9, 59)
HSLhsl(277, 74%, 13%)
HSVhsv(277, 85%, 23%)
CMYKcmyk(32.2%, 84.7%, 0%, 76.9%)
CIE-LABlab(8.67, 25.98, -25.19)
CIE-LCHlch(8.67, 36.19, 315.88°)
OKLaboklab(22.43% 0.0579 -0.0714)
OKLCHoklch(22.43% 0.092 309)
XYZxyz(1.7620, 0.9623, 4.2297)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28093B #1C3B09
analogous
#0F093B #28093B #3B0935
triadic
#28093B #3B2809 #093B28
tetradic
#28093B #3B0F09 #1C3B09 #09353B
square
#28093B #3B0F09 #1C3B09 #09353B
split-complementary
#28093B #353B09 #093B0F
monochromatic
#12041B #12041B #28093B #4C1170 #7019A5

Accessibility & contrast

On white

17.61
#28093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#28093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28093B
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28093B#FFFFFF#000000##FFFFFF
##28093B1.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)
#00183C
Deuteranopia (green-blind)
#01193A
Tritanopia (blue-blind)
#251521
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28093b;
/* rgb */ color: rgb(40, 9, 59);
/* oklch */ color: oklch(22.4% 0.092 309.0);
Tailwind
colors: {
  custom: {
    50: '#654c71',
    500: '#28093b',
    950: '#000000',
  },
}
SCSS
$custom: #28093b;
$custom-light: #654c71;
$custom-dark: #000000;
JSON
{
  "hex": "#28093b",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 277.2,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22431,
    "c": 0.09198,
    "h": 309
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#28093B
secondary
#467927
accent
#F0387E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28093B

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

Preview Lab → · Contrast checker → · Palette generator →

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