#281474#281474

#281474 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.150 H 281.8°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#281474
RGBrgb(40, 20, 116)
HSLhsl(253, 71%, 27%)
HSVhsv(253, 83%, 45%)
CMYKcmyk(65.5%, 82.8%, 0%, 54.5%)
CIE-LABlab(16.56, 37.48, -50.96)
CIE-LCHlch(16.56, 63.26, 306.33°)
OKLaboklab(29.76% 0.0307 -0.147)
OKLCHoklch(29.76% 0.15 281.8)
XYZxyz(4.2766, 2.2121, 16.7212)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281474 #607414
analogous
#143074 #281474 #581474
triadic
#281474 #742814 #147428
tetradic
#281474 #741430 #607414 #147458
square
#281474 #741430 #607414 #147458
split-complementary
#281474 #745814 #307414
monochromatic
#09051A #160B40 #281474 #3A1DA8 #4D28DA

Accessibility & contrast

On white

14.56
#281474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281474
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281474#FFFFFF#000000##FFFFFF
##2814741.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281474;
/* rgb */ color: rgb(40, 20, 116);
/* oklch */ color: oklch(29.8% 0.150 281.8);
Tailwind
colors: {
  custom: {
    50: '#6e559d',
    500: '#281474',
    950: '#000000',
  },
}
SCSS
$custom: #281474;
$custom-light: #6e559d;
$custom-dark: #000000;
JSON
{
  "hex": "#281474",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 252.5,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29756,
    "c": 0.15019,
    "h": 281.8
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#281474
secondary
#93AA3A
accent
#ED3AC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281474

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

Preview Lab → · Contrast checker → · Palette generator →

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