#281290#281290

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

Color values

HEX#281290
RGBrgb(40, 18, 144)
HSLhsl(250, 78%, 32%)
HSVhsv(250, 88%, 56%)
CMYKcmyk(72.2%, 87.5%, 0%, 43.5%)
CIE-LABlab(19.63, 46.89, -63.63)
CIE-LCHlch(19.63, 79.04, 306.39°)
OKLaboklab(32.85% 0.0221 -0.1838)
OKLCHoklch(32.85% 0.185 276.8)
XYZxyz(6.1238, 2.8968, 26.6166)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281290 #7A9012
analogous
#123B90 #281290 #671290
triadic
#281290 #902812 #129028
tetradic
#281290 #90123B #7A9012 #129067
square
#281290 #90123B #7A9012 #129067
split-complementary
#281290 #906712 #3B9012
monochromatic
#0A0423 #190B5A #281290 #3719C6 #5536E6

Accessibility & contrast

On white

13.30
#281290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#281290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281290
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281290#FFFFFF#000000##FFFFFF
##2812901.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.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: #281290;
/* rgb */ color: rgb(40, 18, 144);
/* oklch */ color: oklch(32.8% 0.185 276.8);
Tailwind
colors: {
  custom: {
    50: '#7456b2',
    500: '#281290',
    950: '#000000',
  },
}
SCSS
$custom: #281290;
$custom-light: #7456b2;
$custom-dark: #000000;
JSON
{
  "hex": "#281290",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 144
  },
  "hsl": {
    "h": 250.476,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32845,
    "c": 0.18513,
    "h": 276.8
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#281290
secondary
#ACC43A
accent
#F434D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #281290

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

Preview Lab → · Contrast checker → · Palette generator →

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