#281360#281360

#281360 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.4% C 0.126 H 287.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#281360
RGBrgb(40, 19, 96)
HSLhsl(256, 67%, 23%)
HSVhsv(256, 80%, 38%)
CMYKcmyk(58.3%, 80.2%, 0%, 62.4%)
CIE-LABlab(14.18, 31.67, -41.77)
CIE-LCHlch(14.18, 52.42, 307.17°)
OKLaboklab(27.43% 0.0377 -0.1202)
OKLCHoklch(27.43% 0.126 287.4)
XYZxyz(3.2186, 1.7612, 11.2344)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281360 #4B6013
analogous
#132460 #281360 #4F1360
triadic
#281360 #602813 #136028
tetradic
#281360 #601324 #4B6013 #13604F
square
#281360 #601324 #4B6013 #13604F
split-complementary
#281360 #604F13 #246013
monochromatic
#0B051A #13092D #281360 #3D1D93 #5327C6

Accessibility & contrast

On white

15.53
#281360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#281360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281360
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281360#FFFFFF#000000##FFFFFF
##2813601.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#102838
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #281360;
/* rgb */ color: rgb(40, 19, 96);
/* oklch */ color: oklch(27.4% 0.126 287.4);
Tailwind
colors: {
  custom: {
    50: '#69538e',
    500: '#281360',
    950: '#000000',
  },
}
SCSS
$custom: #281360;
$custom-light: #69538e;
$custom-dark: #000000;
JSON
{
  "hex": "#281360",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 256.364,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27433,
    "c": 0.12593,
    "h": 287.4
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#281360
secondary
#7D9837
accent
#EA3EBB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #281360

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

Preview Lab → · Contrast checker → · Palette generator →

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