#451161#451161

#451161 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.134 H 310.3°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#451161
RGBrgb(69, 17, 97)
HSLhsl(279, 70%, 22%)
HSVhsv(279, 82%, 38%)
CMYKcmyk(28.9%, 82.5%, 0%, 62%)
CIE-LABlab(18.05, 38.20, -35.94)
CIE-LCHlch(18.05, 52.45, 316.74°)
OKLaboklab(31.08% 0.0863 -0.1019)
OKLCHoklch(31.08% 0.134 310.3)
XYZxyz(4.8119, 2.5293, 11.5417)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451161 #2D6111
analogous
#1D1161 #451161 #611155
triadic
#451161 #614511 #116145
tetradic
#451161 #611D11 #2D6111 #115561
square
#451161 #611D11 #2D6111 #115561
split-complementary
#451161 #556111 #11611D
monochromatic
#13051A #20082D #451161 #6A1A95 #8F23C9

Accessibility & contrast

On white

13.95
#451161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#451161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451161
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451161#FFFFFF#000000##FFFFFF
##4511611.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#412539
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #451161;
/* rgb */ color: rgb(69, 17, 97);
/* oklch */ color: oklch(31.1% 0.134 310.3);
Tailwind
colors: {
  custom: {
    50: '#7c568e',
    500: '#451161',
    950: '#000000',
  },
}
SCSS
$custom: #451161;
$custom-light: #7c568e;
$custom-dark: #000000;
JSON
{
  "hex": "#451161",
  "rgb": {
    "r": 69,
    "g": 17,
    "b": 97
  },
  "hsl": {
    "h": 279,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.13356,
    "h": 310.3
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#451161
secondary
#589934
accent
#ED3B79
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #451161

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

Preview Lab → · Contrast checker → · Palette generator →

#451161 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva