#451778#451778

#451778 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.152 H 299.5°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#451778
RGBrgb(69, 23, 120)
HSLhsl(268, 68%, 28%)
HSVhsv(268, 81%, 47%)
CMYKcmyk(42.5%, 80.8%, 0%, 52.9%)
CIE-LABlab(20.96, 41.43, -46.18)
CIE-LCHlch(20.96, 62.04, 311.90°)
OKLaboklab(33.74% 0.0746 -0.1321)
OKLCHoklch(33.74% 0.152 299.5)
XYZxyz(6.1499, 3.2340, 18.0659)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451778 #4A7817
analogous
#171978 #451778 #751778
triadic
#451778 #784517 #177845
tetradic
#451778 #781719 #4A7817 #177875
square
#451778 #781719 #4A7817 #177875
split-complementary
#451778 #787517 #197817
monochromatic
#0F051A #270D45 #451778 #6321AB #8032D8

Accessibility & contrast

On white

12.75
#451778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451778
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451778#FFFFFF#000000##FFFFFF
##4517781.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#393147
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451778;
/* rgb */ color: rgb(69, 23, 120);
/* oklch */ color: oklch(33.7% 0.152 299.5);
Tailwind
colors: {
  custom: {
    50: '#7e5aa0',
    500: '#451778',
    950: '#000000',
  },
}
SCSS
$custom: #451778;
$custom-light: #7e5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#451778",
  "rgb": {
    "r": 69,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 268.454,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33744,
    "c": 0.15167,
    "h": 299.5
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#451778
secondary
#78AD3E
accent
#EB3D98
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #451778

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

Preview Lab → · Contrast checker → · Palette generator →

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