#281358#281358

#281358 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.115 H 290.2°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#281358
RGBrgb(40, 19, 88)
HSLhsl(258, 64%, 21%)
HSVhsv(258, 78%, 35%)
CMYKcmyk(54.5%, 78.4%, 0%, 65.5%)
CIE-LABlab(13.36, 29.13, -37.75)
CIE-LCHlch(13.36, 47.68, 307.66°)
OKLaboklab(26.6% 0.0398 -0.1084)
OKLCHoklch(26.6% 0.115 290.2)
XYZxyz(2.8689, 1.6213, 9.3924)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281358 #435813
analogous
#132058 #281358 #4A1358
triadic
#281358 #582813 #135828
tetradic
#281358 #581320 #435813 #13584A
square
#281358 #581320 #435813 #13584A
split-complementary
#281358 #584A13 #205813
monochromatic
#0B0519 #110826 #281358 #3F1E8A #5629BD

Accessibility & contrast

On white

15.86
#281358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281358
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281358#FFFFFF#000000##FFFFFF
##2813581.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#002157
Tritanopia (blue-blind)
#172534
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281358;
/* rgb */ color: rgb(40, 19, 88);
/* oklch */ color: oklch(26.6% 0.115 290.2);
Tailwind
colors: {
  custom: {
    50: '#685388',
    500: '#281358',
    950: '#000000',
  },
}
SCSS
$custom: #281358;
$custom-light: #685388;
$custom-dark: #000000;
JSON
{
  "hex": "#281358",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 258.261,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26603,
    "c": 0.11549,
    "h": 290.2
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#281358
secondary
#759037
accent
#E740B5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281358

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

Preview Lab → · Contrast checker → · Palette generator →

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