#281263#281263

#281263 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.131 H 286.7°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#281263
RGBrgb(40, 18, 99)
HSLhsl(256, 69%, 23%)
HSVhsv(256, 82%, 39%)
CMYKcmyk(59.6%, 81.8%, 0%, 61.2%)
CIE-LABlab(14.31, 33.16, -43.55)
CIE-LCHlch(14.31, 54.74, 307.29°)
OKLaboklab(27.62% 0.0376 -0.1254)
OKLCHoklch(27.62% 0.131 286.7)
XYZxyz(3.3428, 1.7844, 11.9702)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281263 #4D6312
analogous
#122563 #281263 #501263
triadic
#281263 #632812 #126328
tetradic
#281263 #631225 #4D6312 #126350
square
#281263 #631225 #4D6312 #126350
split-complementary
#281263 #635012 #256312
monochromatic
#0A051A #13092F #281263 #3D1B97 #5225CB

Accessibility & contrast

On white

15.48
#281263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#281263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281263
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281263#FFFFFF#000000##FFFFFF
##2812631.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002665
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#0D293A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #281263;
/* rgb */ color: rgb(40, 18, 99);
/* oklch */ color: oklch(27.6% 0.131 286.7);
Tailwind
colors: {
  custom: {
    50: '#6a5390',
    500: '#281263',
    950: '#000000',
  },
}
SCSS
$custom: #281263;
$custom-light: #6a5390;
$custom-dark: #000000;
JSON
{
  "hex": "#281263",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 256.296,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27622,
    "c": 0.13086,
    "h": 286.7
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#281263
secondary
#809B36
accent
#EC3CBC
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #281263

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

Preview Lab → · Contrast checker → · Palette generator →

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