#451874#451874

#451874 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.146 H 300.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#451874
RGBrgb(69, 24, 116)
HSLhsl(269, 66%, 27%)
HSVhsv(269, 79%, 45%)
CMYKcmyk(40.5%, 79.3%, 0%, 54.5%)
CIE-LABlab(20.75, 39.94, -43.95)
CIE-LCHlch(20.75, 59.39, 312.26°)
OKLaboklab(33.49% 0.0748 -0.1255)
OKLCHoklch(33.49% 0.146 300.8)
XYZxyz(5.9325, 3.1794, 16.8207)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451874 #477418
analogous
#181974 #451874 #731874
triadic
#451874 #744518 #187445
tetradic
#451874 #741819 #477418 #187473
square
#451874 #741819 #477418 #187473
split-complementary
#451874 #747318 #197418
monochromatic
#0F0519 #270E41 #451874 #6322A7 #8132D5

Accessibility & contrast

On white

12.84
#451874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#451874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451874
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451874#FFFFFF#000000##FFFFFF
##4518741.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#3A3045
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #451874;
/* rgb */ color: rgb(69, 24, 116);
/* oklch */ color: oklch(33.5% 0.146 300.8);
Tailwind
colors: {
  custom: {
    50: '#7e5a9d',
    500: '#451874',
    950: '#000000',
  },
}
SCSS
$custom: #451874;
$custom-light: #7e5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#451874",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 269.348,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33485,
    "c": 0.14614,
    "h": 300.8
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#451874
secondary
#75A93F
accent
#E93F96
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451874

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

Preview Lab → · Contrast checker → · Palette generator →

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