#28093A#28093A

#28093A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.091 H 309.8°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#28093A
RGBrgb(40, 9, 58)
HSLhsl(278, 73%, 13%)
HSVhsv(278, 84%, 23%)
CMYKcmyk(31%, 84.5%, 0%, 77.3%)
CIE-LABlab(8.59, 25.71, -24.62)
CIE-LCHlch(8.59, 35.60, 316.25°)
OKLaboklab(22.34% 0.0581 -0.0698)
OKLCHoklch(22.34% 0.091 309.8)
XYZxyz(1.7363, 0.9520, 4.0945)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28093A #1B3A09
analogous
#0F093A #28093A #3A0933
triadic
#28093A #3A2809 #093A28
tetradic
#28093A #3A0F09 #1B3A09 #09333A
square
#28093A #3A0F09 #1B3A09 #09333A
split-complementary
#28093A #333A09 #093A0F
monochromatic
#12041A #12041A #28093A #4D116F #7119A4

Accessibility & contrast

On white

17.64
#28093A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28093A
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28093A#FFFFFF#000000##FFFFFF
##28093A1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#251421
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28093a;
/* rgb */ color: rgb(40, 9, 58);
/* oklch */ color: oklch(22.3% 0.091 309.8);
Tailwind
colors: {
  custom: {
    50: '#644c70',
    500: '#28093a',
    950: '#000000',
  },
}
SCSS
$custom: #28093a;
$custom-light: #644c70;
$custom-dark: #000000;
JSON
{
  "hex": "#28093a",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 58
  },
  "hsl": {
    "h": 277.959,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2234,
    "c": 0.0908,
    "h": 309.8
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#28093A
secondary
#457827
accent
#F0387C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #28093A

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

Preview Lab → · Contrast checker → · Palette generator →

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