#28094A#28094A

#28094A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.9% C 0.110 H 299.3°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#28094A
RGBrgb(40, 9, 74)
HSLhsl(269, 78%, 16%)
HSVhsv(269, 88%, 29%)
CMYKcmyk(45.9%, 87.8%, 0%, 71%)
CIE-LABlab(10.11, 30.12, -33.46)
CIE-LCHlch(10.11, 45.02, 311.99°)
OKLaboklab(23.89% 0.0536 -0.0957)
OKLCHoklch(23.89% 0.11 299.3)
XYZxyz(2.2085, 1.1409, 6.5811)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28094A #2B4A09
analogous
#090B4A #28094A #49094A
triadic
#28094A #4A2809 #094A28
tetradic
#28094A #4A090B #2B4A09 #094A49
square
#28094A #4A090B #2B4A09 #094A49
split-complementary
#28094A #4A4909 #0B4A09
monochromatic
#0F031B #0F031B #28094A #451081 #6316B7

Accessibility & contrast

On white

17.10
#28094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#28094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28094A
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28094A#FFFFFF#000000##FFFFFF
##28094A1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#201B2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #28094a;
/* rgb */ color: rgb(40, 9, 74);
/* oklch */ color: oklch(23.9% 0.110 299.3);
Tailwind
colors: {
  custom: {
    50: '#664d7d',
    500: '#28094a',
    950: '#000000',
  },
}
SCSS
$custom: #28094a;
$custom-light: #664d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#28094a",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 268.615,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23889,
    "c": 0.10974,
    "h": 299.3
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#28094A
secondary
#5A8727
accent
#F53398
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #28094A

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

Preview Lab → · Contrast checker → · Palette generator →

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