#281863#281863

#281863 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.124 H 285.2°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#281863
RGBrgb(40, 24, 99)
HSLhsl(253, 61%, 24%)
HSVhsv(253, 76%, 39%)
CMYKcmyk(59.6%, 75.8%, 0%, 61.2%)
CIE-LABlab(15.51, 29.77, -41.57)
CIE-LCHlch(15.51, 51.13, 305.60°)
OKLaboklab(28.47% 0.0325 -0.1196)
OKLCHoklch(28.47% 0.124 285.2)
XYZxyz(3.4532, 2.0050, 12.0070)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281863 #536318
analogous
#182E63 #281863 #4E1863
triadic
#281863 #632818 #186328
tetradic
#281863 #63182E #536318 #18634E
square
#281863 #63182E #536318 #18634E
split-complementary
#281863 #634E18 #2E6318
monochromatic
#0A0619 #140C32 #281863 #3C2494 #5030C6

Accessibility & contrast

On white

14.99
#281863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#281863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281863
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281863#FFFFFF#000000##FFFFFF
##2818631.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#0C2C3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281863;
/* rgb */ color: rgb(40, 24, 99);
/* oklch */ color: oklch(28.5% 0.124 285.2);
Tailwind
colors: {
  custom: {
    50: '#6a5690',
    500: '#281863',
    950: '#000000',
  },
}
SCSS
$custom: #281863;
$custom-light: #6a5690;
$custom-dark: #000000;
JSON
{
  "hex": "#281863",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 252.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28469,
    "c": 0.12396,
    "h": 285.2
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#281863
secondary
#86993E
accent
#E444C2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #281863

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

Preview Lab → · Contrast checker → · Palette generator →

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