#28094C#28094C

#28094C is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.112 H 298.2°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#28094C
RGBrgb(40, 9, 76)
HSLhsl(268, 79%, 17%)
HSVhsv(268, 88%, 30%)
CMYKcmyk(47.4%, 88.2%, 0%, 70.2%)
CIE-LABlab(10.32, 30.68, -34.52)
CIE-LCHlch(10.32, 46.18, 311.63°)
OKLaboklab(24.1% 0.0529 -0.0988)
OKLCHoklch(24.1% 0.112 298.2)
XYZxyz(2.2769, 1.1683, 6.9416)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28094C #2D4C09
analogous
#090C4C #28094C #4A094C
triadic
#28094C #4C2809 #094C28
tetradic
#28094C #4C090C #2D4C09 #094C4A
square
#28094C #4C090C #2D4C09 #094C4A
split-complementary
#28094C #4C4A09 #0C4C09
monochromatic
#0E031B #0E031B #28094C #450F83 #6216B9

Accessibility & contrast

On white

17.02
#28094C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28094C
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28094C#FFFFFF#000000##FFFFFF
##28094C1.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#001B4B
Tritanopia (blue-blind)
#1F1C2B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #28094c;
/* rgb */ color: rgb(40, 9, 76);
/* oklch */ color: oklch(24.1% 0.112 298.2);
Tailwind
colors: {
  custom: {
    50: '#674d7f',
    500: '#28094c',
    950: '#000000',
  },
}
SCSS
$custom: #28094c;
$custom-light: #674d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#28094c",
  "rgb": {
    "r": 40,
    "g": 9,
    "b": 76
  },
  "hsl": {
    "h": 267.761,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24096,
    "c": 0.11211,
    "h": 298.2
  },
  "luminance": 0.01168
}

Semantic roles & 50–950 ramp

primary
#28094C
secondary
#5C8928
accent
#F5339B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #28094C

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

Preview Lab → · Contrast checker → · Palette generator →

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