#281190#281190

#281190 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.186 H 276.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#281190
RGBrgb(40, 17, 144)
HSLhsl(251, 79%, 32%)
HSVhsv(251, 88%, 56%)
CMYKcmyk(72.2%, 88.2%, 0%, 43.5%)
CIE-LABlab(19.50, 47.28, -63.85)
CIE-LCHlch(19.50, 79.44, 306.52°)
OKLaboklab(32.76% 0.0224 -0.1844)
OKLCHoklch(32.76% 0.186 276.9)
XYZxyz(6.1079, 2.8651, 26.6113)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281190 #799011
analogous
#113A90 #281190 #681190
triadic
#281190 #902811 #119028
tetradic
#281190 #90113A #799011 #119068
square
#281190 #90113A #799011 #119068
split-complementary
#281190 #906811 #3A9011
monochromatic
#0A0423 #190B59 #281190 #3717C7 #5534E7

Accessibility & contrast

On white

13.35
#281190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#281190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281190
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281190#FFFFFF#000000##FFFFFF
##2811901.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281190;
/* rgb */ color: rgb(40, 17, 144);
/* oklch */ color: oklch(32.8% 0.186 276.9);
Tailwind
colors: {
  custom: {
    50: '#7456b2',
    500: '#281190',
    950: '#000000',
  },
}
SCSS
$custom: #281190;
$custom-light: #7456b2;
$custom-dark: #000000;
JSON
{
  "hex": "#281190",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 250.866,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.18577,
    "h": 276.9
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#281190
secondary
#ABC439
accent
#F532D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #281190

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

Preview Lab → · Contrast checker → · Palette generator →

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