#451C7C#451C7C

#451C7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.151 H 297.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#451C7C
RGBrgb(69, 28, 124)
HSLhsl(266, 63%, 30%)
HSVhsv(266, 77%, 49%)
CMYKcmyk(44.4%, 77.4%, 0%, 51.4%)
CIE-LABlab(22.13, 40.20, -46.82)
CIE-LCHlch(22.13, 61.71, 310.65°)
OKLaboklab(34.68% 0.0689 -0.134)
OKLCHoklch(34.68% 0.151 297.2)
XYZxyz(6.5066, 3.5508, 19.4074)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451C7C #537C1C
analogous
#1C237C #451C7C #751C7C
triadic
#451C7C #7C451C #1C7C45
tetradic
#451C7C #7C1C23 #537C1C #1C7C75
square
#451C7C #7C1C23 #537C1C #1C7C75
split-complementary
#451C7C #7C751C #237C1C
monochromatic
#0E0619 #29114A #451C7C #6127AE #7E3FD4

Accessibility & contrast

On white

12.28
#451C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#451C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451C7C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451C7C#FFFFFF#000000##FFFFFF
##451C7C1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#37354B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #451c7c;
/* rgb */ color: rgb(69, 28, 124);
/* oklch */ color: oklch(34.7% 0.151 297.2);
Tailwind
colors: {
  custom: {
    50: '#7f5da3',
    500: '#451c7c',
    950: '#000000',
  },
}
SCSS
$custom: #451c7c;
$custom-light: #7f5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#451c7c",
  "rgb": {
    "r": 69,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 265.625,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34677,
    "c": 0.15068,
    "h": 297.2
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#451C7C
secondary
#82B044
accent
#E642A0
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #451C7C

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

Preview Lab → · Contrast checker → · Palette generator →

#451C7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva