#451F82#451F82

#451F82 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.154 H 294.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#451F82
RGBrgb(69, 31, 130)
HSLhsl(263, 61%, 32%)
HSVhsv(263, 76%, 51%)
CMYKcmyk(46.9%, 76.2%, 0%, 49%)
CIE-LABlab(23.19, 40.38, -48.88)
CIE-LCHlch(23.19, 63.40, 309.56°)
OKLaboklab(35.6% 0.0646 -0.14)
OKLCHoklch(35.6% 0.154 294.8)
XYZxyz(6.9724, 3.8567, 21.4918)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F82 #5C821F
analogous
#1F2B82 #451F82 #771F82
triadic
#451F82 #82451F #1F8245
tetradic
#451F82 #821F2B #5C821F #1F8277
square
#451F82 #821F2B #5C821F #1F8277
split-complementary
#451F82 #82771F #2B821F
monochromatic
#11071F #2B1351 #451F82 #5F2BB3 #7E48D3

Accessibility & contrast

On white

11.86
#451F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#451F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F82
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F82#FFFFFF#000000##FFFFFF
##451F821.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#34394F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #451f82;
/* rgb */ color: rgb(69, 31, 130);
/* oklch */ color: oklch(35.6% 0.154 294.8);
Tailwind
colors: {
  custom: {
    50: '#7f5fa7',
    500: '#451f82',
    950: '#000000',
  },
}
SCSS
$custom: #451f82;
$custom-light: #7f5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#451f82",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 263.03,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35595,
    "c": 0.15421,
    "h": 294.8
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#451F82
secondary
#8BB548
accent
#E543A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #451F82

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

Preview Lab → · Contrast checker → · Palette generator →

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