#28114A#28114A

#28114A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.100 H 297.0°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#28114A
RGBrgb(40, 17, 74)
HSLhsl(264, 63%, 18%)
HSVhsv(264, 77%, 29%)
CMYKcmyk(45.9%, 77%, 0%, 71%)
CIE-LABlab(11.60, 25.91, -31.05)
CIE-LCHlch(11.60, 40.43, 309.84°)
OKLaboklab(24.93% 0.0453 -0.0887)
OKLCHoklch(24.93% 0.1 297)
XYZxyz(2.3112, 1.3464, 6.6153)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28114A #334A11
analogous
#11164A #28114A #44114A
triadic
#28114A #4A2811 #114A28
tetradic
#28114A #4A1116 #334A11 #114A44
square
#28114A #4A1116 #334A11 #114A44
split-complementary
#28114A #4A4411 #164A11
monochromatic
#0D0619 #0D0619 #28114A #431C7C #5E28AE

Accessibility & contrast

On white

16.55
#28114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#28114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28114A
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28114A#FFFFFF#000000##FFFFFF
##28114A1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#1F1F2C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #28114a;
/* rgb */ color: rgb(40, 17, 74);
/* oklch */ color: oklch(24.9% 0.100 297.0);
Tailwind
colors: {
  custom: {
    50: '#66517d',
    500: '#28114a',
    950: '#000000',
  },
}
SCSS
$custom: #28114a;
$custom-light: #66517d;
$custom-dark: #000000;
JSON
{
  "hex": "#28114a",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 264.211,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24933,
    "c": 0.09958,
    "h": 297
  },
  "luminance": 0.01346
}

Semantic roles & 50–950 ramp

primary
#28114A
secondary
#638333
accent
#E642A4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #28114A

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

Preview Lab → · Contrast checker → · Palette generator →

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