#451678#451678

#451678 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.153 H 299.6°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#451678
RGBrgb(69, 22, 120)
HSLhsl(269, 69%, 28%)
HSVhsv(269, 82%, 47%)
CMYKcmyk(42.5%, 81.7%, 0%, 52.9%)
CIE-LABlab(20.81, 41.86, -46.42)
CIE-LCHlch(20.81, 62.51, 312.04°)
OKLaboklab(33.64% 0.0755 -0.1328)
OKLCHoklch(33.64% 0.153 299.6)
XYZxyz(6.1305, 3.1950, 18.0594)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451678 #497816
analogous
#161878 #451678 #761678
triadic
#451678 #784516 #167845
tetradic
#451678 #781618 #497816 #167876
square
#451678 #781618 #497816 #167876
split-complementary
#451678 #787616 #187816
monochromatic
#0F051A #270D44 #451678 #631FAC #812FD9

Accessibility & contrast

On white

12.81
#451678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#451678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451678
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451678#FFFFFF#000000##FFFFFF
##4516781.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #451678;
/* rgb */ color: rgb(69, 22, 120);
/* oklch */ color: oklch(33.6% 0.153 299.6);
Tailwind
colors: {
  custom: {
    50: '#7e5aa0',
    500: '#451678',
    950: '#000000',
  },
}
SCSS
$custom: #451678;
$custom-light: #7e5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#451678",
  "rgb": {
    "r": 69,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 268.776,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3364,
    "c": 0.15272,
    "h": 299.6
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#451678
secondary
#77AD3C
accent
#EC3C97
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040F
muted
#7C797E

Preview Lab

Preview with #451678

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

Preview Lab → · Contrast checker → · Palette generator →

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