#451F9D#451F9D

#451F9D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.185 H 287.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#451F9D
RGBrgb(69, 31, 157)
HSLhsl(258, 67%, 37%)
HSVhsv(258, 80%, 62%)
CMYKcmyk(56.1%, 80.3%, 0%, 38.4%)
CIE-LABlab(25.80, 47.96, -61.34)
CIE-LCHlch(25.80, 77.87, 308.02°)
OKLaboklab(38.21% 0.0567 -0.1766)
OKLCHoklch(38.21% 0.185 287.8)
XYZxyz(9.0282, 4.6790, 32.3192)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F9D #779D1F
analogous
#1F389D #451F9D #841F9D
triadic
#451F9D #9D451F #1F9D45
tetradic
#451F9D #9D1F38 #779D1F #1F9D84
square
#451F9D #9D1F38 #779D1F #1F9D84
split-complementary
#451F9D #9D841F #389D1F
monochromatic
#180B37 #2F156A #451F9D #5B29D0 #8158DE

Accessibility & contrast

On white

10.85
#451F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#451F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F9D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F9D#FFFFFF#000000##FFFFFF
##451F9D1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#1F445E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #451f9d;
/* rgb */ color: rgb(69, 31, 157);
/* oklch */ color: oklch(38.2% 0.185 287.8);
Tailwind
colors: {
  custom: {
    50: '#8360bb',
    500: '#451f9d',
    950: '#000000',
  },
}
SCSS
$custom: #451f9d;
$custom-light: #8360bb;
$custom-dark: #000000;
JSON
{
  "hex": "#451f9d",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 258.095,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38213,
    "c": 0.18543,
    "h": 287.8
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#451F9D
secondary
#A1C256
accent
#EA3EB6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #451F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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