#281149#281149

#281149 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.098 H 297.6°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#281149
RGBrgb(40, 17, 73)
HSLhsl(265, 62%, 18%)
HSVhsv(265, 77%, 29%)
CMYKcmyk(45.2%, 76.7%, 0%, 71.4%)
CIE-LABlab(11.50, 25.60, -30.50)
CIE-LCHlch(11.50, 39.82, 310.01°)
OKLaboklab(24.84% 0.0455 -0.0871)
OKLCHoklch(24.84% 0.098 297.6)
XYZxyz(2.2778, 1.3330, 6.4393)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281149 #324911
analogous
#111649 #281149 #441149
triadic
#281149 #492811 #114928
tetradic
#281149 #491116 #324911 #114944
square
#281149 #491116 #324911 #114944
split-complementary
#281149 #494411 #164911
monochromatic
#0E0619 #0E0619 #281149 #431D7B #5E28AC

Accessibility & contrast

On white

16.58
#281149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#281149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281149
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281149#FFFFFF#000000##FFFFFF
##2811491.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#201F2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281149;
/* rgb */ color: rgb(40, 17, 73);
/* oklch */ color: oklch(24.8% 0.098 297.6);
Tailwind
colors: {
  custom: {
    50: '#66517c',
    500: '#281149',
    950: '#000000',
  },
}
SCSS
$custom: #281149;
$custom-light: #66517c;
$custom-dark: #000000;
JSON
{
  "hex": "#281149",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 264.643,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24839,
    "c": 0.09824,
    "h": 297.6
  },
  "luminance": 0.01333
}

Semantic roles & 50–950 ramp

primary
#281149
secondary
#628233
accent
#E543A2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281149

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

Preview Lab → · Contrast checker → · Palette generator →

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