#451774#451774

#451774 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.147 H 301.0°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#451774
RGBrgb(69, 23, 116)
HSLhsl(270, 67%, 27%)
HSVhsv(270, 80%, 45%)
CMYKcmyk(40.5%, 80.2%, 0%, 54.5%)
CIE-LABlab(20.59, 40.39, -44.21)
CIE-LCHlch(20.59, 59.88, 312.41°)
OKLaboklab(33.38% 0.0758 -0.1263)
OKLCHoklch(33.38% 0.147 301)
XYZxyz(5.9122, 3.1389, 16.8140)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451774 #467417
analogous
#171874 #451774 #731774
triadic
#451774 #744517 #177445
tetradic
#451774 #741718 #467417 #177473
square
#451774 #741718 #467417 #177473
split-complementary
#451774 #747317 #187417
monochromatic
#0F051A #270D41 #451774 #6321A7 #8230D6

Accessibility & contrast

On white

12.90
#451774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#451774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451774
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451774#FFFFFF#000000##FFFFFF
##4517741.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#3A3045
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451774;
/* rgb */ color: rgb(69, 23, 116);
/* oklch */ color: oklch(33.4% 0.147 301.0);
Tailwind
colors: {
  custom: {
    50: '#7e5a9d',
    500: '#451774',
    950: '#000000',
  },
}
SCSS
$custom: #451774;
$custom-light: #7e5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#451774",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 269.677,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33375,
    "c": 0.14726,
    "h": 301
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#451774
secondary
#74A93D
accent
#EA3E95
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451774

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

Preview Lab → · Contrast checker → · Palette generator →

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