#451779#451779

#451779 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.153 H 299.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#451779
RGBrgb(69, 23, 121)
HSLhsl(268, 68%, 28%)
HSVhsv(268, 81%, 47%)
CMYKcmyk(43%, 81%, 0%, 52.5%)
CIE-LABlab(21.05, 41.69, -46.67)
CIE-LCHlch(21.05, 62.58, 311.78°)
OKLaboklab(33.84% 0.0743 -0.1335)
OKLCHoklch(33.84% 0.153 299.1)
XYZxyz(6.2110, 3.2584, 18.3872)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451779 #4B7917
analogous
#171A79 #451779 #761779
triadic
#451779 #794517 #177945
tetradic
#451779 #79171A #4B7917 #177976
square
#451779 #79171A #4B7917 #177976
split-complementary
#451779 #797617 #1A7917
monochromatic
#0F051A #280D46 #451779 #6221AC #8032D8

Accessibility & contrast

On white

12.71
#451779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#451779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451779
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451779#FFFFFF#000000##FFFFFF
##4517791.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#383248
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #451779;
/* rgb */ color: rgb(69, 23, 121);
/* oklch */ color: oklch(33.8% 0.153 299.1);
Tailwind
colors: {
  custom: {
    50: '#7f5aa1',
    500: '#451779',
    950: '#000000',
  },
}
SCSS
$custom: #451779;
$custom-light: #7f5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#451779",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 268.163,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33838,
    "c": 0.15277,
    "h": 299.1
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#451779
secondary
#79AE3E
accent
#EB3D99
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451779

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

Preview Lab → · Contrast checker → · Palette generator →

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