#451F7C#451F7C

#451F7C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.147 H 296.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#451F7C
RGBrgb(69, 31, 124)
HSLhsl(265, 60%, 30%)
HSVhsv(265, 75%, 49%)
CMYKcmyk(44.4%, 75%, 0%, 51.4%)
CIE-LABlab(22.65, 38.70, -45.96)
CIE-LCHlch(22.65, 60.08, 310.10°)
OKLaboklab(35.05% 0.066 -0.1315)
OKLCHoklch(35.05% 0.147 296.7)
XYZxyz(6.5814, 3.7003, 19.4323)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F7C #567C1F
analogous
#1F277C #451F7C #731F7C
triadic
#451F7C #7C451F #1F7C45
tetradic
#451F7C #7C1F27 #567C1F #1F7C73
square
#451F7C #7C1F27 #567C1F #1F7C73
split-complementary
#451F7C #7C731F #277C1F
monochromatic
#0F071A #2A134B #451F7C #602BAD #7E45D0

Accessibility & contrast

On white

12.07
#451F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#451F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F7C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F7C#FFFFFF#000000##FFFFFF
##451F7C1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#37374B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #451f7c;
/* rgb */ color: rgb(69, 31, 124);
/* oklch */ color: oklch(35.0% 0.147 296.7);
Tailwind
colors: {
  custom: {
    50: '#7e5ea3',
    500: '#451f7c',
    950: '#000000',
  },
}
SCSS
$custom: #451f7c;
$custom-light: #7e5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#451f7c",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 264.516,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.14712,
    "h": 296.7
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#451F7C
secondary
#85AF48
accent
#E345A2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #451F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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