#451877#451877

#451877 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.149 H 299.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#451877
RGBrgb(69, 24, 119)
HSLhsl(268, 66%, 28%)
HSVhsv(268, 80%, 47%)
CMYKcmyk(42%, 79.8%, 0%, 53.3%)
CIE-LABlab(21.02, 40.73, -45.44)
CIE-LCHlch(21.02, 61.02, 311.87°)
OKLaboklab(33.76% 0.074 -0.1299)
OKLCHoklch(33.76% 0.149 299.7)
XYZxyz(6.1098, 3.2503, 17.7547)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451877 #4A7718
analogous
#181A77 #451877 #741877
triadic
#451877 #774518 #187745
tetradic
#451877 #77181A #4A7718 #187774
square
#451877 #77181A #4A7718 #187774
split-complementary
#451877 #777418 #1A7718
monochromatic
#0F0519 #270E44 #451877 #6322AA #8033D6

Accessibility & contrast

On white

12.73
#451877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#451877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451877
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451877#FFFFFF#000000##FFFFFF
##4518771.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#393147
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #451877;
/* rgb */ color: rgb(69, 24, 119);
/* oklch */ color: oklch(33.8% 0.149 299.7);
Tailwind
colors: {
  custom: {
    50: '#7e5a9f',
    500: '#451877',
    950: '#000000',
  },
}
SCSS
$custom: #451877;
$custom-light: #7e5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#451877",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 268.421,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33759,
    "c": 0.14949,
    "h": 299.7
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#451877
secondary
#78AC3F
accent
#E93E98
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #451877

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

Preview Lab → · Contrast checker → · Palette generator →

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