#281269#281269

#281269 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.138 H 284.9°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#281269
RGBrgb(40, 18, 105)
HSLhsl(255, 71%, 24%)
HSVhsv(255, 83%, 41%)
CMYKcmyk(61.9%, 82.9%, 0%, 58.8%)
CIE-LABlab(14.97, 35.04, -46.42)
CIE-LCHlch(14.97, 58.16, 307.05°)
OKLaboklab(28.28% 0.0356 -0.1338)
OKLCHoklch(28.28% 0.138 284.9)
XYZxyz(3.6404, 1.9034, 13.5374)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281269 #536912
analogous
#122869 #281269 #541269
triadic
#281269 #692812 #126928
tetradic
#281269 #691228 #536912 #126954
square
#281269 #691228 #536912 #126954
split-complementary
#281269 #695412 #286912
monochromatic
#0A041A #140935 #281269 #3C1B9D #5024D1

Accessibility & contrast

On white

15.21
#281269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#281269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281269
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281269#FFFFFF#000000##FFFFFF
##2812691.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#032C3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #281269;
/* rgb */ color: rgb(40, 18, 105);
/* oklch */ color: oklch(28.3% 0.138 284.9);
Tailwind
colors: {
  custom: {
    50: '#6b5395',
    500: '#281269',
    950: '#000000',
  },
}
SCSS
$custom: #281269;
$custom-light: #6b5395;
$custom-dark: #000000;
JSON
{
  "hex": "#281269",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 255.172,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2828,
    "c": 0.13842,
    "h": 284.9
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#281269
secondary
#86A136
accent
#ED3AC0
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281269

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

Preview Lab → · Contrast checker → · Palette generator →

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