#28144D#28144D

#28144D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.099 H 294.5°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#28144D
RGBrgb(40, 20, 77)
HSLhsl(261, 59%, 19%)
HSVhsv(261, 74%, 30%)
CMYKcmyk(48.1%, 74%, 0%, 69.8%)
CIE-LABlab(12.53, 25.03, -31.61)
CIE-LCHlch(12.53, 40.32, 308.38°)
OKLaboklab(25.68% 0.0411 -0.0904)
OKLCHoklch(25.68% 0.099 294.5)
XYZxyz(2.4644, 1.4872, 7.1770)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28144D #394D14
analogous
#141D4D #28144D #45144D
triadic
#28144D #4D2814 #144D28
tetradic
#28144D #4D141D #394D14 #144D45
square
#28144D #4D141D #394D14 #144D45
split-complementary
#28144D #4D4514 #1D4D14
monochromatic
#0D0618 #0F071C #28144D #41217E #5A2DAE

Accessibility & contrast

On white

16.19
#28144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28144D
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28144D#FFFFFF#000000##FFFFFF
##28144D1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#1E222E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #28144d;
/* rgb */ color: rgb(40, 20, 77);
/* oklch */ color: oklch(25.7% 0.099 294.5);
Tailwind
colors: {
  custom: {
    50: '#66537f',
    500: '#28144d',
    950: '#000000',
  },
}
SCSS
$custom: #28144d;
$custom-light: #66537f;
$custom-dark: #000000;
JSON
{
  "hex": "#28144d",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 261.053,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25684,
    "c": 0.09927,
    "h": 294.5
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#28144D
secondary
#6A8538
accent
#E246AB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #28144D

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

Preview Lab → · Contrast checker → · Palette generator →

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