#281763#281763

#281763 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.3% C 0.125 H 285.5°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#281763
RGBrgb(40, 23, 99)
HSLhsl(253, 62%, 24%)
HSVhsv(253, 77%, 39%)
CMYKcmyk(59.6%, 76.8%, 0%, 61.2%)
CIE-LABlab(15.30, 30.36, -41.92)
CIE-LCHlch(15.30, 51.76, 305.91°)
OKLaboklab(28.32% 0.0334 -0.1207)
OKLCHoklch(28.32% 0.125 285.5)
XYZxyz(3.4329, 1.9646, 12.0003)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281763 #526317
analogous
#172C63 #281763 #4E1763
triadic
#281763 #632817 #176328
tetradic
#281763 #63172C #526317 #17634E
square
#281763 #63172C #526317 #17634E
split-complementary
#281763 #634E17 #2C6317
monochromatic
#0A0619 #140B31 #281763 #3C2395 #502EC6

Accessibility & contrast

On white

15.08
#281763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#281763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281763
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281763#FFFFFF#000000##FFFFFF
##2817631.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#0C2C3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #281763;
/* rgb */ color: rgb(40, 23, 99);
/* oklch */ color: oklch(28.3% 0.125 285.5);
Tailwind
colors: {
  custom: {
    50: '#6a5690',
    500: '#281763',
    950: '#000000',
  },
}
SCSS
$custom: #281763;
$custom-light: #6a5690;
$custom-dark: #000000;
JSON
{
  "hex": "#281763",
  "rgb": {
    "r": 40,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 253.421,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28318,
    "c": 0.12518,
    "h": 285.5
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#281763
secondary
#859A3C
accent
#E542C1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #281763

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

Preview Lab → · Contrast checker → · Palette generator →

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