#451F62#451F62

#451F62 is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.9% C 0.116 H 307.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#451F62
RGBrgb(69, 31, 98)
HSLhsl(274, 52%, 25%)
HSVhsv(274, 68%, 38%)
CMYKcmyk(29.6%, 68.4%, 0%, 61.6%)
CIE-LABlab(20.55, 31.66, -32.57)
CIE-LCHlch(20.55, 45.42, 314.18°)
OKLaboklab(32.88% 0.0701 -0.0921)
OKLCHoklch(32.88% 0.116 307.3)
XYZxyz(5.1484, 3.1271, 11.8853)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451F62 #3C621F
analogous
#231F62 #451F62 #621F5D
triadic
#451F62 #62451F #1F6245
tetradic
#451F62 #62231F #3C621F #1F5D62
square
#451F62 #62231F #3C621F #1F5D62
split-complementary
#451F62 #5D621F #1F6223
monochromatic
#100717 #241034 #451F62 #662E90 #863CBF

Accessibility & contrast

On white

12.92
#451F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#451F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451F62
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451F62#FFFFFF#000000##FFFFFF
##451F621.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003064
Deuteranopia (green-blind)
#113260
Tritanopia (blue-blind)
#402D3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #451f62;
/* rgb */ color: rgb(69, 31, 98);
/* oklch */ color: oklch(32.9% 0.116 307.3);
Tailwind
colors: {
  custom: {
    50: '#7b5d8f',
    500: '#451f62',
    950: '#000000',
  },
}
SCSS
$custom: #451f62;
$custom-light: #7b5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#451f62",
  "rgb": {
    "r": 69,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 274.03,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32879,
    "c": 0.11575,
    "h": 307.3
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#451F62
secondary
#699746
accent
#DB4C8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A040C
muted
#7C797D

Preview Lab

Preview with #451F62

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

Preview Lab → · Contrast checker → · Palette generator →

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