#281150#281150

#281150 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.108 H 294.1°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#281150
RGBrgb(40, 17, 80)
HSLhsl(262, 65%, 19%)
HSVhsv(262, 79%, 31%)
CMYKcmyk(50%, 78.8%, 0%, 68.6%)
CIE-LABlab(12.16, 27.76, -34.26)
CIE-LCHlch(12.16, 44.10, 309.02°)
OKLaboklab(25.51% 0.0439 -0.0981)
OKLCHoklch(25.51% 0.108 294.1)
XYZxyz(2.5231, 1.4311, 7.7312)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281150 #395011
analogous
#111A50 #281150 #481150
triadic
#281150 #502811 #115028
tetradic
#281150 #50111A #395011 #115048
square
#281150 #50111A #395011 #115048
split-complementary
#281150 #504811 #1A5011
monochromatic
#0D0519 #0F061E #281150 #411C82 #5A26B5

Accessibility & contrast

On white

16.33
#281150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#281150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281150
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281150#FFFFFF#000000##FFFFFF
##2811501.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#1C212F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281150;
/* rgb */ color: rgb(40, 17, 80);
/* oklch */ color: oklch(25.5% 0.108 294.1);
Tailwind
colors: {
  custom: {
    50: '#675182',
    500: '#281150',
    950: '#000000',
  },
}
SCSS
$custom: #281150;
$custom-light: #675182;
$custom-dark: #000000;
JSON
{
  "hex": "#281150",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 261.905,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25513,
    "c": 0.10752,
    "h": 294.1
  },
  "luminance": 0.01431
}

Semantic roles & 50–950 ramp

primary
#281150
secondary
#6A8933
accent
#E840AB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #281150

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

Preview Lab → · Contrast checker → · Palette generator →

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