#281677#281677

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

Color values

HEX#281677
RGBrgb(40, 22, 119)
HSLhsl(251, 69%, 28%)
HSVhsv(251, 82%, 47%)
CMYKcmyk(66.4%, 81.5%, 0%, 53.3%)
CIE-LABlab(17.26, 37.41, -51.75)
CIE-LCHlch(17.26, 63.85, 305.86°)
OKLaboklab(30.34% 0.0285 -0.1493)
OKLCHoklch(30.34% 0.152 280.8)
XYZxyz(4.4907, 2.3565, 17.6674)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281677 #657716
analogous
#163577 #281677 #581677
triadic
#281677 #772816 #167728
tetradic
#281677 #771635 #657716 #167758
square
#281677 #771635 #657716 #167758
split-complementary
#281677 #775816 #357716
monochromatic
#09051A #170C43 #281677 #3920AB #4E2FD9

Accessibility & contrast

On white

14.27
#281677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#281677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281677
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281677#FFFFFF#000000##FFFFFF
##2816771.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002775
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281677;
/* rgb */ color: rgb(40, 22, 119);
/* oklch */ color: oklch(30.3% 0.152 280.8);
Tailwind
colors: {
  custom: {
    50: '#6e569f',
    500: '#281677',
    950: '#000000',
  },
}
SCSS
$custom: #281677;
$custom-light: #6e569f;
$custom-dark: #000000;
JSON
{
  "hex": "#281677",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 251.134,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3034,
    "c": 0.15204,
    "h": 280.8
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#281677
secondary
#98AC3C
accent
#EC3CCB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281677

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

Preview Lab → · Contrast checker → · Palette generator →

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