#281283#281283

#281283 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.3% C 0.170 H 279.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#281283
RGBrgb(40, 18, 131)
HSLhsl(252, 76%, 29%)
HSVhsv(252, 86%, 51%)
CMYKcmyk(69.5%, 86.3%, 0%, 48.6%)
CIE-LABlab(18.02, 43.02, -58.14)
CIE-LCHlch(18.02, 72.33, 306.50°)
OKLaboklab(31.28% 0.0266 -0.1679)
OKLCHoklch(31.28% 0.17 279)
XYZxyz(5.1868, 2.5220, 21.6818)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281283 #6D8312
analogous
#123583 #281283 #611283
triadic
#281283 #832812 #128328
tetradic
#281283 #831235 #6D8312 #128361
square
#281283 #831235 #6D8312 #128361
split-complementary
#281283 #836112 #358312
monochromatic
#08041B #180B4D #281283 #3819B9 #502DE2

Accessibility & contrast

On white

13.96
#281283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#281283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281283
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281283#FFFFFF#000000##FFFFFF
##2812831.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00364D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281283;
/* rgb */ color: rgb(40, 18, 131);
/* oklch */ color: oklch(31.3% 0.170 279.0);
Tailwind
colors: {
  custom: {
    50: '#7155a8',
    500: '#281283',
    950: '#000000',
  },
}
SCSS
$custom: #281283;
$custom-light: #7155a8;
$custom-dark: #000000;
JSON
{
  "hex": "#281283",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 251.681,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31281,
    "c": 0.16997,
    "h": 279
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#281283
secondary
#9FB838
accent
#F235CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #281283

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

Preview Lab → · Contrast checker → · Palette generator →

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