#281964#281964

#281964 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.7% C 0.124 H 284.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#281964
RGBrgb(40, 25, 100)
HSLhsl(252, 60%, 25%)
HSVhsv(252, 75%, 39%)
CMYKcmyk(60%, 75%, 0%, 60.8%)
CIE-LABlab(15.83, 29.49, -41.71)
CIE-LCHlch(15.83, 51.09, 305.26°)
OKLaboklab(28.73% 0.0313 -0.12)
OKLCHoklch(28.73% 0.124 284.6)
XYZxyz(3.5223, 2.0663, 12.2673)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281964 #556419
analogous
#193064 #281964 #4E1964
triadic
#281964 #642819 #196428
tetradic
#281964 #641930 #556419 #19644E
square
#281964 #641930 #556419 #19644E
split-complementary
#281964 #644E19 #306419
monochromatic
#0A0618 #140D33 #281964 #3C2595 #4F31C6

Accessibility & contrast

On white

14.86
#281964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281964
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281964#FFFFFF#000000##FFFFFF
##2819641.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#0A2D3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281964;
/* rgb */ color: rgb(40, 25, 100);
/* oklch */ color: oklch(28.7% 0.124 284.6);
Tailwind
colors: {
  custom: {
    50: '#6a5791',
    500: '#281964',
    950: '#000000',
  },
}
SCSS
$custom: #281964;
$custom-light: #6a5791;
$custom-dark: #000000;
JSON
{
  "hex": "#281964",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 252,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28726,
    "c": 0.12407,
    "h": 284.6
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#281964
secondary
#889A3F
accent
#E345C3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281964

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

Preview Lab → · Contrast checker → · Palette generator →

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