#281390#281390

#281390 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.9% C 0.184 H 276.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#281390
RGBrgb(40, 19, 144)
HSLhsl(250, 77%, 32%)
HSVhsv(250, 87%, 56%)
CMYKcmyk(72.2%, 86.8%, 0%, 43.5%)
CIE-LABlab(19.76, 46.48, -63.40)
CIE-LCHlch(19.76, 78.62, 306.25°)
OKLaboklab(32.94% 0.0217 -0.1832)
OKLCHoklch(32.94% 0.184 276.8)
XYZxyz(6.1403, 2.9299, 26.6221)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281390 #7B9013
analogous
#133D90 #281390 #671390
triadic
#281390 #902813 #139028
tetradic
#281390 #90133D #7B9013 #139067
square
#281390 #90133D #7B9013 #139067
split-complementary
#281390 #906713 #3D9013
monochromatic
#0A0524 #190C5A #281390 #371AC6 #5639E5

Accessibility & contrast

On white

13.24
#281390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#281390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281390
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281390#FFFFFF#000000##FFFFFF
##2813901.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #281390;
/* rgb */ color: rgb(40, 19, 144);
/* oklch */ color: oklch(32.9% 0.184 276.8);
Tailwind
colors: {
  custom: {
    50: '#7457b2',
    500: '#281390',
    950: '#000000',
  },
}
SCSS
$custom: #281390;
$custom-light: #7457b2;
$custom-dark: #000000;
JSON
{
  "hex": "#281390",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 250.08,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32938,
    "c": 0.18447,
    "h": 276.8
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#281390
secondary
#ADC43B
accent
#F335D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #281390

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

Preview Lab → · Contrast checker → · Palette generator →

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