#281090#281090

#281090 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.7% C 0.186 H 277.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#281090
RGBrgb(40, 16, 144)
HSLhsl(251, 80%, 31%)
HSVhsv(251, 89%, 56%)
CMYKcmyk(72.2%, 88.9%, 0%, 43.5%)
CIE-LABlab(19.37, 47.65, -64.06)
CIE-LCHlch(19.37, 79.84, 306.65°)
OKLaboklab(32.67% 0.0227 -0.185)
OKLCHoklch(32.67% 0.186 277)
XYZxyz(6.0928, 2.8347, 26.6062)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281090 #789010
analogous
#103890 #281090 #681090
triadic
#281090 #902810 #109028
tetradic
#281090 #901038 #789010 #109068
square
#281090 #901038 #789010 #109068
split-complementary
#281090 #906810 #389010
monochromatic
#090422 #190A59 #281090 #3716C7 #5432E8

Accessibility & contrast

On white

13.40
#281090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281090
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281090#FFFFFF#000000##FFFFFF
##2810901.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003B54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #281090;
/* rgb */ color: rgb(40, 16, 144);
/* oklch */ color: oklch(32.7% 0.186 277.0);
Tailwind
colors: {
  custom: {
    50: '#7456b2',
    500: '#281090',
    950: '#000000',
  },
}
SCSS
$custom: #281090;
$custom-light: #7456b2;
$custom-dark: #000000;
JSON
{
  "hex": "#281090",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 144
  },
  "hsl": {
    "h": 251.25,
    "s": 80,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32671,
    "c": 0.18639,
    "h": 277
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#281090
secondary
#AAC437
accent
#F631D1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #281090

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

Preview Lab → · Contrast checker → · Palette generator →

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