#28093C#28093C

#28093C is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.093 H 308.3°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#28093C
RGBrgb(40, 9, 60)
HSLhsl(276, 74%, 14%)
HSVhsv(276, 85%, 24%)
CMYKcmyk(33.3%, 85%, 0%, 76.5%)
CIE-LABlab(8.76, 26.25, -25.77)
CIE-LCHlch(8.76, 36.78, 315.53°)
OKLaboklab(22.52% 0.0577 -0.0731)
OKLCHoklch(22.52% 0.093 308.3)
XYZxyz(1.7882, 0.9728, 4.3676)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28093C #1D3C09
analogous
#0E093C #28093C #3C0936
triadic
#28093C #3C2809 #093C28
tetradic
#28093C #3C0E09 #1D3C09 #09363C
square
#28093C #3C0E09 #1D3C09 #09363C
split-complementary
#28093C #363C09 #093C0E
monochromatic
#12041B #12041B #28093C #4B1171 #6F19A6

Accessibility & contrast

On white

17.58
#28093C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28093C
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28093C#FFFFFF#000000##FFFFFF
##28093C1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#251522
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28093c;
/* rgb */ color: rgb(40, 9, 60);
/* oklch */ color: oklch(22.5% 0.093 308.3);
Tailwind
colors: {
  custom: {
    50: '#654c72',
    500: '#28093c',
    950: '#000000',
  },
}
SCSS
$custom: #28093c;
$custom-light: #654c72;
$custom-dark: #000000;
JSON
{
  "hex": "#28093c",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 60
  },
  "hsl": {
    "h": 276.471,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22522,
    "c": 0.09317,
    "h": 308.3
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#28093C
secondary
#477A27
accent
#F13780
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060108
muted
#7A777B

Preview Lab

Preview with #28093C

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

Preview Lab → · Contrast checker → · Palette generator →

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