#281250#281250

#281250 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.106 H 293.8°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#281250
RGBrgb(40, 18, 80)
HSLhsl(261, 63%, 19%)
HSVhsv(261, 78%, 31%)
CMYKcmyk(50%, 77.5%, 0%, 68.6%)
CIE-LABlab(12.37, 27.18, -33.92)
CIE-LCHlch(12.37, 43.47, 308.70°)
OKLaboklab(25.66% 0.0428 -0.0972)
OKLCHoklch(25.66% 0.106 293.8)
XYZxyz(2.5389, 1.4628, 7.7364)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281250 #3A5012
analogous
#121B50 #281250 #471250
triadic
#281250 #502812 #125028
tetradic
#281250 #50121B #3A5012 #125047
square
#281250 #50121B #3A5012 #125047
split-complementary
#281250 #504712 #1B5012
monochromatic
#0C0619 #0F071E #281250 #411D82 #5A28B4

Accessibility & contrast

On white

16.25
#281250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281250
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281250#FFFFFF#000000##FFFFFF
##2812501.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281250;
/* rgb */ color: rgb(40, 18, 80);
/* oklch */ color: oklch(25.7% 0.106 293.8);
Tailwind
colors: {
  custom: {
    50: '#675282',
    500: '#281250',
    950: '#000000',
  },
}
SCSS
$custom: #281250;
$custom-light: #675282;
$custom-dark: #000000;
JSON
{
  "hex": "#281250",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 261.29,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2566,
    "c": 0.10618,
    "h": 293.8
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#281250
secondary
#6B8935
accent
#E641AC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #281250

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

Preview Lab → · Contrast checker → · Palette generator →

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