#281365#281365

#281365 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.132 H 285.9°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#281365
RGBrgb(40, 19, 101)
HSLhsl(255, 68%, 24%)
HSVhsv(255, 81%, 40%)
CMYKcmyk(60.4%, 81.2%, 0%, 60.4%)
CIE-LABlab(14.71, 33.26, -44.21)
CIE-LCHlch(14.71, 55.33, 306.96°)
OKLaboklab(27.97% 0.0362 -0.1273)
OKLCHoklch(27.97% 0.132 285.9)
XYZxyz(3.4562, 1.8562, 12.4856)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281365 #506513
analogous
#132765 #281365 #511365
triadic
#281365 #652813 #136528
tetradic
#281365 #651327 #506513 #136551
square
#281365 #651327 #506513 #136551
split-complementary
#281365 #655113 #276513
monochromatic
#0A051A #140931 #281365 #3C1D99 #5126CC

Accessibility & contrast

On white

15.32
#281365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#281365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281365
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281365#FFFFFF#000000##FFFFFF
##2813651.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#092A3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #281365;
/* rgb */ color: rgb(40, 19, 101);
/* oklch */ color: oklch(28.0% 0.132 285.9);
Tailwind
colors: {
  custom: {
    50: '#6a5492',
    500: '#281365',
    950: '#000000',
  },
}
SCSS
$custom: #281365;
$custom-light: #6a5492;
$custom-dark: #000000;
JSON
{
  "hex": "#281365",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 255.366,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27968,
    "c": 0.13234,
    "h": 285.9
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#281365
secondary
#839D37
accent
#EB3DBE
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281365

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

Preview Lab → · Contrast checker → · Palette generator →

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