#28144F#28144F

#28144F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.102 H 293.5°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#28144F
RGBrgb(40, 20, 79)
HSLhsl(260, 60%, 19%)
HSVhsv(260, 75%, 31%)
CMYKcmyk(49.4%, 74.7%, 0%, 69%)
CIE-LABlab(12.71, 25.67, -32.68)
CIE-LCHlch(12.71, 41.56, 308.14°)
OKLaboklab(25.87% 0.0408 -0.0935)
OKLCHoklch(25.87% 0.102 293.5)
XYZxyz(2.5361, 1.5159, 7.5546)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28144F #3B4F14
analogous
#141E4F #28144F #46144F
triadic
#28144F #4F2814 #144F28
tetradic
#28144F #4F141E #3B4F14 #144F46
square
#28144F #4F141E #3B4F14 #144F46
split-complementary
#28144F #4F4614 #1E4F14
monochromatic
#0C0618 #0F081E #28144F #412080 #592DB1

Accessibility & contrast

On white

16.11
#28144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28144F
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28144F#FFFFFF#000000##FFFFFF
##28144F1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28144f;
/* rgb */ color: rgb(40, 20, 79);
/* oklch */ color: oklch(25.9% 0.102 293.5);
Tailwind
colors: {
  custom: {
    50: '#665381',
    500: '#28144f',
    950: '#000000',
  },
}
SCSS
$custom: #28144f;
$custom-light: #665381;
$custom-dark: #000000;
JSON
{
  "hex": "#28144f",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 260.339,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25872,
    "c": 0.10203,
    "h": 293.5
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#28144F
secondary
#6C8738
accent
#E345AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #28144F

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

Preview Lab → · Contrast checker → · Palette generator →

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