#451870#451870

#451870 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.142 H 302.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#451870
RGBrgb(69, 24, 112)
HSLhsl(271, 65%, 27%)
HSVhsv(271, 79%, 44%)
CMYKcmyk(38.4%, 78.6%, 0%, 56.1%)
CIE-LABlab(20.39, 38.89, -41.95)
CIE-LCHlch(20.39, 57.21, 312.83°)
OKLaboklab(33.13% 0.0759 -0.1196)
OKLCHoklch(33.13% 0.142 302.4)
XYZxyz(5.7048, 3.0883, 15.6216)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451870 #437018
analogous
#191870 #451870 #70186F
triadic
#451870 #704518 #187045
tetradic
#451870 #701918 #437018 #186F70
square
#451870 #701918 #437018 #186F70
split-complementary
#451870 #6F7018 #187019
monochromatic
#100519 #260D3E #451870 #6423A2 #8330D3

Accessibility & contrast

On white

12.98
#451870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#451870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451870
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451870#FFFFFF#000000##FFFFFF
##4518701.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#3C2E43
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #451870;
/* rgb */ color: rgb(69, 24, 112);
/* oklch */ color: oklch(33.1% 0.142 302.4);
Tailwind
colors: {
  custom: {
    50: '#7d5a9a',
    500: '#451870',
    950: '#000000',
  },
}
SCSS
$custom: #451870;
$custom-light: #7d5a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#451870",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 270.682,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33126,
    "c": 0.14167,
    "h": 302.4
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#451870
secondary
#71A53E
accent
#E84092
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #451870

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

Preview Lab → · Contrast checker → · Palette generator →

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