#281475#281475

#281475 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.151 H 281.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#281475
RGBrgb(40, 20, 117)
HSLhsl(252, 71%, 27%)
HSVhsv(252, 83%, 46%)
CMYKcmyk(65.8%, 82.9%, 0%, 54.1%)
CIE-LABlab(16.68, 37.79, -51.42)
CIE-LCHlch(16.68, 63.81, 306.32°)
OKLaboklab(29.87% 0.0304 -0.1483)
OKLCHoklch(29.87% 0.151 281.6)
XYZxyz(4.3351, 2.2355, 17.0292)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281475 #617514
analogous
#143175 #281475 #591475
triadic
#281475 #752814 #147528
tetradic
#281475 #751431 #617514 #147559
square
#281475 #751431 #617514 #147559
split-complementary
#281475 #755914 #317514
monochromatic
#09041A #160B41 #281475 #3A1DA9 #4E29DA

Accessibility & contrast

On white

14.51
#281475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#281475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281475
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281475#FFFFFF#000000##FFFFFF
##2814751.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281475;
/* rgb */ color: rgb(40, 20, 117);
/* oklch */ color: oklch(29.9% 0.151 281.6);
Tailwind
colors: {
  custom: {
    50: '#6e559e',
    500: '#281475',
    950: '#000000',
  },
}
SCSS
$custom: #281475;
$custom-light: #6e559e;
$custom-dark: #000000;
JSON
{
  "hex": "#281475",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 252.371,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2987,
    "c": 0.15142,
    "h": 281.6
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#281475
secondary
#94AB3A
accent
#EE3AC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281475

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

Preview Lab → · Contrast checker → · Palette generator →

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