#281869#281869

#281869 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.132 H 283.6°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#281869
RGBrgb(40, 24, 105)
HSLhsl(252, 63%, 25%)
HSVhsv(252, 77%, 41%)
CMYKcmyk(61.9%, 77.1%, 0%, 58.8%)
CIE-LABlab(16.13, 31.75, -44.52)
CIE-LCHlch(16.13, 54.69, 305.50°)
OKLaboklab(29.09% 0.031 -0.1283)
OKLCHoklch(29.09% 0.132 283.6)
XYZxyz(3.7507, 2.1241, 13.5742)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281869 #596918
analogous
#183069 #281869 #501869
triadic
#281869 #692818 #186928
tetradic
#281869 #691830 #596918 #186950
square
#281869 #691830 #596918 #186950
split-complementary
#281869 #695018 #306918
monochromatic
#090619 #150D37 #281869 #3B239B #4E2FCD

Accessibility & contrast

On white

14.74
#281869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#281869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281869
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281869#FFFFFF#000000##FFFFFF
##2818691.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#022E3F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281869;
/* rgb */ color: rgb(40, 24, 105);
/* oklch */ color: oklch(29.1% 0.132 283.6);
Tailwind
colors: {
  custom: {
    50: '#6b5795',
    500: '#281869',
    950: '#000000',
  },
}
SCSS
$custom: #281869;
$custom-light: #6b5795;
$custom-dark: #000000;
JSON
{
  "hex": "#281869",
  "rgb": {
    "r": 40,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 251.852,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2909,
    "c": 0.13197,
    "h": 283.6
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#281869
secondary
#8C9F3E
accent
#E642C5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281869

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

Preview Lab → · Contrast checker → · Palette generator →

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