#281765#281765

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

Color values

HEX#281765
RGBrgb(40, 23, 101)
HSLhsl(253, 63%, 24%)
HSVhsv(253, 77%, 40%)
CMYKcmyk(60.4%, 77.2%, 0%, 60.4%)
CIE-LABlab(15.50, 31.02, -42.91)
CIE-LCHlch(15.50, 52.95, 305.86°)
OKLaboklab(28.53% 0.0329 -0.1235)
OKLCHoklch(28.53% 0.128 284.9)
XYZxyz(3.5297, 2.0033, 12.5101)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281765 #546517
analogous
#172D65 #281765 #4F1765
triadic
#281765 #652817 #176528
tetradic
#281765 #65172D #546517 #17654F
square
#281765 #65172D #546517 #17654F
split-complementary
#281765 #654F17 #2D6517
monochromatic
#0A0619 #140C33 #281765 #3C2297 #4F2EC9

Accessibility & contrast

On white

14.99
#281765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#281765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281765
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281765#FFFFFF#000000##FFFFFF
##2817651.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#092C3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281765;
/* rgb */ color: rgb(40, 23, 101);
/* oklch */ color: oklch(28.5% 0.128 284.9);
Tailwind
colors: {
  custom: {
    50: '#6a5692',
    500: '#281765',
    950: '#000000',
  },
}
SCSS
$custom: #281765;
$custom-light: #6a5692;
$custom-dark: #000000;
JSON
{
  "hex": "#281765",
  "rgb": {
    "r": 40,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 253.077,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28525,
    "c": 0.12785,
    "h": 284.9
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#281765
secondary
#879B3C
accent
#E642C2
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281765

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

Preview Lab → · Contrast checker → · Palette generator →

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