#28143E#28143E

#28143E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.078 H 303.0°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#28143E
RGBrgb(40, 20, 62)
HSLhsl(269, 51%, 16%)
HSVhsv(269, 68%, 24%)
CMYKcmyk(35.5%, 67.7%, 0%, 75.7%)
CIE-LABlab(11.27, 20.37, -23.15)
CIE-LCHlch(11.27, 30.84, 311.34°)
OKLaboklab(24.38% 0.0425 -0.0655)
OKLCHoklch(24.38% 0.078 303)
XYZxyz(1.9945, 1.2992, 4.7022)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28143E #2A3E14
analogous
#14153E #28143E #3D143E
triadic
#28143E #3E2814 #143E28
tetradic
#28143E #3E1415 #2A3E14 #143E3D
square
#28143E #3E1415 #2A3E14 #143E3D
split-complementary
#28143E #3E3D14 #153E14
monochromatic
#0F0717 #0F0717 #28143E #46236C #64329B

Accessibility & contrast

On white

16.67
#28143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#28143E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28143E
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28143E#FFFFFF#000000##FFFFFF
##28143E1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E3F
Deuteranopia (green-blind)
#091E3D
Tritanopia (blue-blind)
#241D26
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #28143e;
/* rgb */ color: rgb(40, 20, 62);
/* oklch */ color: oklch(24.4% 0.078 303.0);
Tailwind
colors: {
  custom: {
    50: '#645273',
    500: '#28143e',
    950: '#000000',
  },
}
SCSS
$custom: #28143e;
$custom-light: #645273;
$custom-dark: #000000;
JSON
{
  "hex": "#28143e",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 268.571,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24377,
    "c": 0.07811,
    "h": 303
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#28143E
secondary
#587638
accent
#DB4D97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #28143E

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

Preview Lab → · Contrast checker → · Palette generator →

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