#281375#281375

#281375 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.152 H 281.7°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#281375
RGBrgb(40, 19, 117)
HSLhsl(253, 72%, 27%)
HSVhsv(253, 84%, 46%)
CMYKcmyk(65.8%, 83.8%, 0%, 54.1%)
CIE-LABlab(16.51, 38.29, -51.70)
CIE-LCHlch(16.51, 64.33, 306.52°)
OKLaboklab(29.75% 0.0309 -0.1491)
OKLCHoklch(29.75% 0.152 281.7)
XYZxyz(4.3178, 2.2009, 17.0235)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281375 #607513
analogous
#132F75 #281375 #591375
triadic
#281375 #752813 #137528
tetradic
#281375 #75132F #607513 #137559
square
#281375 #75132F #607513 #137559
split-complementary
#281375 #755913 #2F7513
monochromatic
#09041A #160A40 #281375 #3A1CAA #4D27DC

Accessibility & contrast

On white

14.58
#281375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281375
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281375#FFFFFF#000000##FFFFFF
##2813751.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281375;
/* rgb */ color: rgb(40, 19, 117);
/* oklch */ color: oklch(29.8% 0.152 281.7);
Tailwind
colors: {
  custom: {
    50: '#6e559e',
    500: '#281375',
    950: '#000000',
  },
}
SCSS
$custom: #281375;
$custom-light: #6e559e;
$custom-dark: #000000;
JSON
{
  "hex": "#281375",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 252.857,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29752,
    "c": 0.15232,
    "h": 281.7
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#281375
secondary
#93AB38
accent
#EF39C8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281375

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

Preview Lab → · Contrast checker → · Palette generator →

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