#28144E#28144E

#28144E is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.101 H 294.0°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#28144E
RGBrgb(40, 20, 78)
HSLhsl(261, 59%, 19%)
HSVhsv(261, 74%, 31%)
CMYKcmyk(48.7%, 74.4%, 0%, 69.4%)
CIE-LABlab(12.62, 25.35, -32.15)
CIE-LCHlch(12.62, 40.94, 308.26°)
OKLaboklab(25.78% 0.0409 -0.0919)
OKLCHoklch(25.78% 0.101 294)
XYZxyz(2.5000, 1.5014, 7.3643)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28144E #3A4E14
analogous
#141D4E #28144E #45144E
triadic
#28144E #4E2814 #144E28
tetradic
#28144E #4E141D #3A4E14 #144E45
square
#28144E #4E141D #3A4E14 #144E45
split-complementary
#28144E #4E4514 #1D4E14
monochromatic
#0C0618 #0F081D #28144E #41207F #5A2DAF

Accessibility & contrast

On white

16.15
#28144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#28144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28144E
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28144E#FFFFFF#000000##FFFFFF
##28144E1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#1D222F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #28144e;
/* rgb */ color: rgb(40, 20, 78);
/* oklch */ color: oklch(25.8% 0.101 294.0);
Tailwind
colors: {
  custom: {
    50: '#665380',
    500: '#28144e',
    950: '#000000',
  },
}
SCSS
$custom: #28144e;
$custom-light: #665380;
$custom-dark: #000000;
JSON
{
  "hex": "#28144e",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 260.69,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25778,
    "c": 0.10065,
    "h": 294
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#28144E
secondary
#6B8638
accent
#E245AC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #28144E

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

Preview Lab → · Contrast checker → · Palette generator →

#28144E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva