#451F9E#451F9E

#451F9E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.187 H 287.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#451F9E
RGBrgb(69, 31, 158)
HSLhsl(258, 67%, 37%)
HSVhsv(258, 80%, 62%)
CMYKcmyk(56.3%, 80.4%, 0%, 38%)
CIE-LABlab(25.90, 48.24, -61.79)
CIE-LCHlch(25.90, 78.39, 307.98°)
OKLaboklab(38.31% 0.0564 -0.1778)
OKLCHoklch(38.31% 0.187 287.6)
XYZxyz(9.1140, 4.7133, 32.7706)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F9E #789E1F
analogous
#1F389E #451F9E #851F9E
triadic
#451F9E #9E451F #1F9E45
tetradic
#451F9E #9E1F38 #789E1F #1F9E85
square
#451F9E #9E1F38 #789E1F #1F9E85
split-complementary
#451F9E #9E851F #389E1F
monochromatic
#180B38 #2F156B #451F9E #5B29D1 #8159DE

Accessibility & contrast

On white

10.81
#451F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #451F9E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F9E#FFFFFF#000000##FFFFFF
##451F9E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#1D445F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #451f9e;
/* rgb */ color: rgb(69, 31, 158);
/* oklch */ color: oklch(38.3% 0.187 287.6);
Tailwind
colors: {
  custom: {
    50: '#8360bc',
    500: '#451f9e',
    950: '#000000',
  },
}
SCSS
$custom: #451f9e;
$custom-light: #8360bc;
$custom-dark: #000000;
JSON
{
  "hex": "#451f9e",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 257.953,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.18657,
    "h": 287.6
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#451F9E
secondary
#A2C256
accent
#EA3EB7
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #451F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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