#281139#281139

#281139 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.077 H 308.1°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#281139
RGBrgb(40, 17, 57)
HSLhsl(275, 54%, 15%)
HSVhsv(275, 70%, 22%)
CMYKcmyk(29.8%, 70.2%, 0%, 77.6%)
CIE-LABlab(10.16, 20.84, -21.35)
CIE-LCHlch(10.16, 29.84, 314.31°)
OKLaboklab(23.45% 0.0472 -0.0602)
OKLCHoklch(23.45% 0.077 308.1)
XYZxyz(1.8139, 1.1474, 3.9960)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281139 #223911
analogous
#141139 #281139 #391136
triadic
#281139 #392811 #113928
tetradic
#281139 #391411 #223911 #113639
square
#281139 #391411 #223911 #113639
split-complementary
#281139 #363911 #113914
monochromatic
#110718 #110718 #281139 #491F68 #6A2D97

Accessibility & contrast

On white

17.08
#281139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#281139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281139
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281139#FFFFFF#000000##FFFFFF
##2811391.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021B3A
Deuteranopia (green-blind)
#0B1C38
Tritanopia (blue-blind)
#251923
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #281139;
/* rgb */ color: rgb(40, 17, 57);
/* oklch */ color: oklch(23.4% 0.077 308.1);
Tailwind
colors: {
  custom: {
    50: '#64506f',
    500: '#281139',
    950: '#000000',
  },
}
SCSS
$custom: #281139;
$custom-light: #64506f;
$custom-dark: #000000;
JSON
{
  "hex": "#281139",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 274.5,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23449,
    "c": 0.07651,
    "h": 308.1
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#281139
secondary
#4E7234
accent
#DD4A89
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #281139

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

Preview Lab → · Contrast checker → · Palette generator →

#281139 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva