#281973#281973

#281973 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.144 H 281.1°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#281973
RGBrgb(40, 25, 115)
HSLhsl(250, 64%, 27%)
HSVhsv(250, 78%, 45%)
CMYKcmyk(65.2%, 78.3%, 0%, 54.9%)
CIE-LABlab(17.39, 34.48, -48.96)
CIE-LCHlch(17.39, 59.88, 305.16°)
OKLaboklab(30.3% 0.0277 -0.1412)
OKLCHoklch(30.3% 0.144 281.1)
XYZxyz(4.3162, 2.3839, 16.4490)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281973 #647319
analogous
#193773 #281973 #551973
triadic
#281973 #732819 #197328
tetradic
#281973 #731937 #647319 #197355
square
#281973 #731937 #647319 #197355
split-complementary
#281973 #735519 #377319
monochromatic
#090519 #170E41 #281973 #3924A5 #4E34D3

Accessibility & contrast

On white

14.22
#281973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#281973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281973
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281973#FFFFFF#000000##FFFFFF
##2819731.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002771
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #281973;
/* rgb */ color: rgb(40, 25, 115);
/* oklch */ color: oklch(30.3% 0.144 281.1);
Tailwind
colors: {
  custom: {
    50: '#6d589c',
    500: '#281973',
    950: '#000000',
  },
}
SCSS
$custom: #281973;
$custom-light: #6d589c;
$custom-dark: #000000;
JSON
{
  "hex": "#281973",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 250,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30298,
    "c": 0.14393,
    "h": 281.1
  },
  "luminance": 0.02384
}

Semantic roles & 50–950 ramp

primary
#281973
secondary
#97A840
accent
#E741CB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281973

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

Preview Lab → · Contrast checker → · Palette generator →

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