#281357#281357

#281357 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.114 H 290.6°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#281357
RGBrgb(40, 19, 87)
HSLhsl(259, 64%, 21%)
HSVhsv(259, 78%, 34%)
CMYKcmyk(54%, 78.2%, 0%, 65.9%)
CIE-LABlab(13.26, 28.81, -37.24)
CIE-LCHlch(13.26, 47.08, 307.73°)
OKLaboklab(26.5% 0.0401 -0.1069)
OKLCHoklch(26.5% 0.114 290.6)
XYZxyz(2.8278, 1.6049, 9.1758)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281357 #425713
analogous
#132057 #281357 #4A1357
triadic
#281357 #572813 #135728
tetradic
#281357 #571320 #425713 #13574A
square
#281357 #571320 #425713 #13574A
split-complementary
#281357 #574A13 #205713
monochromatic
#0C0519 #110825 #281357 #3F1E89 #5629BB

Accessibility & contrast

On white

15.90
#281357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#281357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281357
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281357#FFFFFF#000000##FFFFFF
##2813571.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#002156
Tritanopia (blue-blind)
#182533
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281357;
/* rgb */ color: rgb(40, 19, 87);
/* oklch */ color: oklch(26.5% 0.114 290.6);
Tailwind
colors: {
  custom: {
    50: '#685387',
    500: '#281357',
    950: '#000000',
  },
}
SCSS
$custom: #281357;
$custom-light: #685387;
$custom-dark: #000000;
JSON
{
  "hex": "#281357",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 258.529,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26502,
    "c": 0.11417,
    "h": 290.6
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#281357
secondary
#748F36
accent
#E741B4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281357

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

Preview Lab → · Contrast checker → · Palette generator →

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