#451173#451173

#451173 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.152 H 302.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#451173
RGBrgb(69, 17, 115)
HSLhsl(272, 74%, 26%)
HSVhsv(272, 85%, 45%)
CMYKcmyk(40%, 85.2%, 0%, 54.9%)
CIE-LABlab(19.65, 42.58, -45.10)
CIE-LCHlch(19.65, 62.02, 313.35°)
OKLaboklab(32.69% 0.0811 -0.1288)
OKLCHoklch(32.69% 0.152 302.2)
XYZxyz(5.7485, 2.9039, 16.4740)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451173 #3F7311
analogous
#141173 #451173 #731170
triadic
#451173 #734511 #117345
tetradic
#451173 #731411 #3F7311 #117073
square
#451173 #731411 #3F7311 #117073
split-complementary
#451173 #707311 #117314
monochromatic
#10041B #25093E #451173 #6519A8 #8521DE

Accessibility & contrast

On white

13.28
#451173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#451173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451173
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451173#FFFFFF#000000##FFFFFF
##4511731.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#3B2D43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #451173;
/* rgb */ color: rgb(69, 17, 115);
/* oklch */ color: oklch(32.7% 0.152 302.2);
Tailwind
colors: {
  custom: {
    50: '#7e579c',
    500: '#451173',
    950: '#000000',
  },
}
SCSS
$custom: #451173;
$custom-light: #7e579c;
$custom-dark: #000000;
JSON
{
  "hex": "#451173",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 271.837,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.15224,
    "h": 302.2
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#451173
secondary
#6CAA36
accent
#F1378E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #451173

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

Preview Lab → · Contrast checker → · Palette generator →

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