#451174#451174

#451174 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.153 H 301.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#451174
RGBrgb(69, 17, 116)
HSLhsl(272, 74%, 26%)
HSVhsv(272, 85%, 45%)
CMYKcmyk(40.5%, 85.3%, 0%, 54.5%)
CIE-LABlab(19.75, 42.83, -45.59)
CIE-LCHlch(19.75, 62.55, 313.21°)
OKLaboklab(32.79% 0.0808 -0.1303)
OKLCHoklch(32.79% 0.153 301.8)
XYZxyz(5.8063, 2.9270, 16.7787)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451174 #407411
analogous
#131174 #451174 #741171
triadic
#451174 #744511 #117445
tetradic
#451174 #741311 #407411 #117174
square
#451174 #741311 #407411 #117174
split-complementary
#451174 #717411 #117413
monochromatic
#10041B #25093F #451174 #6519A9 #8421DE

Accessibility & contrast

On white

13.25
#451174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#451174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451174
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451174#FFFFFF#000000##FFFFFF
##4511741.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#3B2D44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #451174;
/* rgb */ color: rgb(69, 17, 116);
/* oklch */ color: oklch(32.8% 0.153 301.8);
Tailwind
colors: {
  custom: {
    50: '#7e579d',
    500: '#451174',
    950: '#000000',
  },
}
SCSS
$custom: #451174;
$custom-light: #7e579d;
$custom-dark: #000000;
JSON
{
  "hex": "#451174",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 271.515,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32788,
    "c": 0.15328,
    "h": 301.8
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#451174
secondary
#6DAB36
accent
#F1378F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #451174

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

Preview Lab → · Contrast checker → · Palette generator →

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