#281253#281253

#281253 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.110 H 292.5°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#281253
RGBrgb(40, 18, 83)
HSLhsl(260, 64%, 20%)
HSVhsv(260, 78%, 33%)
CMYKcmyk(51.8%, 78.3%, 0%, 67.5%)
CIE-LABlab(12.66, 28.12, -35.50)
CIE-LCHlch(12.66, 45.29, 308.39°)
OKLaboklab(25.96% 0.0421 -0.1018)
OKLCHoklch(25.96% 0.11 292.5)
XYZxyz(2.6523, 1.5082, 8.3333)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281253 #3D5312
analogous
#121C53 #281253 #491253
triadic
#281253 #532812 #125328
tetradic
#281253 #53121C #3D5312 #125349
square
#281253 #53121C #3D5312 #125349
split-complementary
#281253 #534912 #1C5312
monochromatic
#0C0519 #100721 #281253 #401D85 #5828B8

Accessibility & contrast

On white

16.13
#281253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281253
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281253#FFFFFF#000000##FFFFFF
##2812531.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#1B2331
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281253;
/* rgb */ color: rgb(40, 18, 83);
/* oklch */ color: oklch(26.0% 0.110 292.5);
Tailwind
colors: {
  custom: {
    50: '#675284',
    500: '#281253',
    950: '#000000',
  },
}
SCSS
$custom: #281253;
$custom-light: #675284;
$custom-dark: #000000;
JSON
{
  "hex": "#281253",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 260.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25955,
    "c": 0.11016,
    "h": 292.5
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#281253
secondary
#6E8C35
accent
#E740AF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281253

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

Preview Lab → · Contrast checker → · Palette generator →

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