#281769#281769

#281769 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.133 H 283.8°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#281769
RGBrgb(40, 23, 105)
HSLhsl(252, 64%, 25%)
HSVhsv(252, 78%, 41%)
CMYKcmyk(61.9%, 78.1%, 0%, 58.8%)
CIE-LABlab(15.92, 32.33, -44.86)
CIE-LCHlch(15.92, 55.30, 305.78°)
OKLaboklab(28.95% 0.0318 -0.1292)
OKLCHoklch(28.95% 0.133 283.8)
XYZxyz(3.7305, 2.0836, 13.5675)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281769 #586917
analogous
#172F69 #281769 #511769
triadic
#281769 #692817 #176928
tetradic
#281769 #69172F #586917 #176951
square
#281769 #69172F #586917 #176951
split-complementary
#281769 #695117 #2F6917
monochromatic
#0A0519 #150C37 #281769 #3B229B #4E2DCD

Accessibility & contrast

On white

14.82
#281769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#281769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281769
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281769#FFFFFF#000000##FFFFFF
##2817691.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#022E3F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281769;
/* rgb */ color: rgb(40, 23, 105);
/* oklch */ color: oklch(28.9% 0.133 283.8);
Tailwind
colors: {
  custom: {
    50: '#6b5695',
    500: '#281769',
    950: '#000000',
  },
}
SCSS
$custom: #281769;
$custom-light: #6b5695;
$custom-dark: #000000;
JSON
{
  "hex": "#281769",
  "rgb": {
    "r": 40,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 252.439,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28945,
    "c": 0.13311,
    "h": 283.8
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#281769
secondary
#8B9F3D
accent
#E741C5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281769

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

Preview Lab → · Contrast checker → · Palette generator →

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