#451B82#451B82

#451B82 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.159 H 295.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#451B82
RGBrgb(69, 27, 130)
HSLhsl(264, 66%, 31%)
HSVhsv(264, 79%, 51%)
CMYKcmyk(46.9%, 79.2%, 0%, 49%)
CIE-LABlab(22.52, 42.30, -49.98)
CIE-LCHlch(22.52, 65.48, 310.24°)
OKLaboklab(35.12% 0.0682 -0.1432)
OKLCHoklch(35.12% 0.159 295.4)
XYZxyz(6.8744, 3.6606, 21.4591)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451B82 #58821B
analogous
#1B2482 #451B82 #781B82
triadic
#451B82 #82451B #1B8245
tetradic
#451B82 #821B24 #58821B #1B8278
square
#451B82 #821B24 #58821B #1B8278
split-complementary
#451B82 #82781B #24821B
monochromatic
#0F061D #2A104F #451B82 #6026B5 #7E40D7

Accessibility & contrast

On white

12.12
#451B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#451B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451B82
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451B82#FFFFFF#000000##FFFFFF
##451B821.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#34374E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451b82;
/* rgb */ color: rgb(69, 27, 130);
/* oklch */ color: oklch(35.1% 0.159 295.4);
Tailwind
colors: {
  custom: {
    50: '#7f5da7',
    500: '#451b82',
    950: '#000000',
  },
}
SCSS
$custom: #451b82;
$custom-light: #7f5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#451b82",
  "rgb": {
    "r": 69,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 264.466,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3512,
    "c": 0.15864,
    "h": 295.4
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#451B82
secondary
#87B643
accent
#E93FA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #451B82

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

Preview Lab → · Contrast checker → · Palette generator →

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