#28093D#28093D

#28093D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.094 H 307.5°. Best body text is #FFFFFF at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#28093D
RGBrgb(40, 9, 61)
HSLhsl(276, 74%, 14%)
HSVhsv(276, 85%, 24%)
CMYKcmyk(34.4%, 85.2%, 0%, 76.1%)
CIE-LABlab(8.85, 26.52, -26.34)
CIE-LCHlch(8.85, 37.38, 315.19°)
OKLaboklab(22.61% 0.0575 -0.0748)
OKLCHoklch(22.61% 0.094 307.5)
XYZxyz(1.8149, 0.9834, 4.5082)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28093D #1E3D09
analogous
#0E093D #28093D #3D0938
triadic
#28093D #3D2809 #093D28
tetradic
#28093D #3D0E09 #1E3D09 #09383D
square
#28093D #3D0E09 #1E3D09 #09383D
split-complementary
#28093D #383D09 #093D0E
monochromatic
#11041B #11041B #28093D #4B1172 #6E19A8

Accessibility & contrast

On white

17.55
#28093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28093D
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28093D#FFFFFF#000000##FFFFFF
##28093D1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00193C
Tritanopia (blue-blind)
#251622
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #28093d;
/* rgb */ color: rgb(40, 9, 61);
/* oklch */ color: oklch(22.6% 0.094 307.5);
Tailwind
colors: {
  custom: {
    50: '#654c73',
    500: '#28093d',
    950: '#000000',
  },
}
SCSS
$custom: #28093d;
$custom-light: #654c73;
$custom-dark: #000000;
JSON
{
  "hex": "#28093d",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 275.769,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22614,
    "c": 0.09434,
    "h": 307.5
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#28093D
secondary
#497B27
accent
#F13782
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #28093D

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

Preview Lab → · Contrast checker → · Palette generator →

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