#281350#281350

#281350 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.105 H 293.5°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#281350
RGBrgb(40, 19, 80)
HSLhsl(261, 62%, 19%)
HSVhsv(261, 76%, 31%)
CMYKcmyk(50%, 76.3%, 0%, 68.6%)
CIE-LABlab(12.58, 26.59, -33.58)
CIE-LCHlch(12.58, 42.83, 308.38°)
OKLaboklab(25.81% 0.0417 -0.0961)
OKLCHoklch(25.81% 0.105 293.5)
XYZxyz(2.5555, 1.4960, 7.7420)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281350 #3B5013
analogous
#131D50 #281350 #471350
triadic
#281350 #502813 #135028
tetradic
#281350 #50131D #3B5013 #135047
square
#281350 #50131D #3B5013 #135047
split-complementary
#281350 #504713 #1D5013
monochromatic
#0C0619 #0F071F #281350 #411F81 #592AB3

Accessibility & contrast

On white

16.16
#281350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#281350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281350
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281350#FFFFFF#000000##FFFFFF
##2813501.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00204F
Tritanopia (blue-blind)
#1C222F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281350;
/* rgb */ color: rgb(40, 19, 80);
/* oklch */ color: oklch(25.8% 0.105 293.5);
Tailwind
colors: {
  custom: {
    50: '#665282',
    500: '#281350',
    950: '#000000',
  },
}
SCSS
$custom: #281350;
$custom-light: #665282;
$custom-dark: #000000;
JSON
{
  "hex": "#281350",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 260.656,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25811,
    "c": 0.10481,
    "h": 293.5
  },
  "luminance": 0.01496
}

Semantic roles & 50–950 ramp

primary
#281350
secondary
#6C8936
accent
#E543AD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #281350

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

Preview Lab → · Contrast checker → · Palette generator →

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