#281963#281963

#281963 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.123 H 284.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#281963
RGBrgb(40, 25, 99)
HSLhsl(252, 60%, 24%)
HSVhsv(252, 75%, 39%)
CMYKcmyk(59.6%, 74.7%, 0%, 61.2%)
CIE-LABlab(15.73, 29.16, -41.22)
CIE-LCHlch(15.73, 50.49, 305.28°)
OKLaboklab(28.63% 0.0315 -0.1186)
OKLCHoklch(28.63% 0.123 284.9)
XYZxyz(3.4742, 2.0470, 12.0140)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281963 #546319
analogous
#192F63 #281963 #4D1963
triadic
#281963 #632819 #196328
tetradic
#281963 #63192F #546319 #19634D
square
#281963 #63192F #546319 #19634D
split-complementary
#281963 #634D19 #2F6319
monochromatic
#0A0618 #140D32 #281963 #3C2594 #4F32C5

Accessibility & contrast

On white

14.90
#281963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#281963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281963
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281963#FFFFFF#000000##FFFFFF
##2819631.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281963;
/* rgb */ color: rgb(40, 25, 99);
/* oklch */ color: oklch(28.6% 0.123 284.9);
Tailwind
colors: {
  custom: {
    50: '#695790',
    500: '#281963',
    950: '#000000',
  },
}
SCSS
$custom: #281963;
$custom-light: #695790;
$custom-dark: #000000;
JSON
{
  "hex": "#281963",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 252.162,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28625,
    "c": 0.12271,
    "h": 284.9
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#281963
secondary
#87993F
accent
#E345C3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #281963

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

Preview Lab → · Contrast checker → · Palette generator →

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