#281477#281477

#281477 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.154 H 281.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#281477
RGBrgb(40, 20, 119)
HSLhsl(252, 71%, 27%)
HSVhsv(252, 83%, 47%)
CMYKcmyk(66.4%, 83.2%, 0%, 53.3%)
CIE-LABlab(16.91, 38.42, -52.32)
CIE-LCHlch(16.91, 64.91, 306.29°)
OKLaboklab(30.1% 0.0297 -0.151)
OKLCHoklch(30.1% 0.154 281.1)
XYZxyz(4.4540, 2.2830, 17.6551)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281477 #637714
analogous
#143277 #281477 #591477
triadic
#281477 #772814 #147728
tetradic
#281477 #771432 #637714 #147759
square
#281477 #771432 #637714 #147759
split-complementary
#281477 #775914 #327714
monochromatic
#09041A #160B43 #281477 #3A1DAB #4E2ADB

Accessibility & contrast

On white

14.42
#281477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#281477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281477
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281477#FFFFFF#000000##FFFFFF
##2814771.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002675
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281477;
/* rgb */ color: rgb(40, 20, 119);
/* oklch */ color: oklch(30.1% 0.154 281.1);
Tailwind
colors: {
  custom: {
    50: '#6e559f',
    500: '#281477',
    950: '#000000',
  },
}
SCSS
$custom: #281477;
$custom-light: #6e559f;
$custom-dark: #000000;
JSON
{
  "hex": "#281477",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 252.121,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30097,
    "c": 0.15389,
    "h": 281.1
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#281477
secondary
#96AD3A
accent
#EE3ACA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281477

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

Preview Lab → · Contrast checker → · Palette generator →

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