#451166#451166

#451166 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.139 H 307.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#451166
RGBrgb(69, 17, 102)
HSLhsl(277, 71%, 23%)
HSVhsv(277, 83%, 40%)
CMYKcmyk(32.4%, 83.3%, 0%, 60%)
CIE-LABlab(18.48, 39.39, -38.55)
CIE-LCHlch(18.48, 55.12, 315.62°)
OKLaboklab(31.51% 0.0851 -0.1096)
OKLCHoklch(31.51% 0.139 307.8)
XYZxyz(5.0525, 2.6255, 12.8084)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451166 #326611
analogous
#1A1166 #451166 #66115C
triadic
#451166 #664511 #116645
tetradic
#451166 #661A11 #326611 #115C66
square
#451166 #661A11 #326611 #115C66
split-complementary
#451166 #5C6611 #11661A
monochromatic
#12041A #220832 #451166 #681A9A #8C22CF

Accessibility & contrast

On white

13.77
#451166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#451166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451166
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451166#FFFFFF#000000##FFFFFF
##4511661.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#40273C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #451166;
/* rgb */ color: rgb(69, 17, 102);
/* oklch */ color: oklch(31.5% 0.139 307.8);
Tailwind
colors: {
  custom: {
    50: '#7d5692',
    500: '#451166',
    950: '#000000',
  },
}
SCSS
$custom: #451166;
$custom-light: #7d5692;
$custom-dark: #000000;
JSON
{
  "hex": "#451166",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 276.706,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.13874,
    "h": 307.8
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#451166
secondary
#5E9E35
accent
#EE3A80
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #451166

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

Preview Lab → · Contrast checker → · Palette generator →

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