#451172#451172

#451172 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.151 H 302.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#451172
RGBrgb(69, 17, 114)
HSLhsl(272, 74%, 26%)
HSVhsv(272, 85%, 45%)
CMYKcmyk(39.5%, 85.1%, 0%, 55.3%)
CIE-LABlab(19.56, 42.33, -44.61)
CIE-LCHlch(19.56, 61.49, 313.50°)
OKLaboklab(32.6% 0.0815 -0.1274)
OKLCHoklch(32.6% 0.151 302.6)
XYZxyz(5.6912, 2.8810, 16.1726)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451172 #3E7211
analogous
#141172 #451172 #72116E
triadic
#451172 #724511 #117245
tetradic
#451172 #721411 #3E7211 #116E72
square
#451172 #721411 #3E7211 #116E72
split-complementary
#451172 #6E7211 #117214
monochromatic
#10041B #25093D #451172 #6519A7 #8521DD

Accessibility & contrast

On white

13.32
#451172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451172
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451172#FFFFFF#000000##FFFFFF
##4511721.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002F70
Tritanopia (blue-blind)
#3B2C42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #451172;
/* rgb */ color: rgb(69, 17, 114);
/* oklch */ color: oklch(32.6% 0.151 302.6);
Tailwind
colors: {
  custom: {
    50: '#7e579b',
    500: '#451172',
    950: '#000000',
  },
}
SCSS
$custom: #451172;
$custom-light: #7e579b;
$custom-dark: #000000;
JSON
{
  "hex": "#451172",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 272.165,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.326,
    "c": 0.1512,
    "h": 302.6
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#451172
secondary
#6BA936
accent
#F1378D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #451172

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

Preview Lab → · Contrast checker → · Palette generator →

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