#451866#451866

#451866 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.130 H 306.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#451866
RGBrgb(69, 24, 102)
HSLhsl(275, 62%, 25%)
HSVhsv(275, 76%, 40%)
CMYKcmyk(32.4%, 76.5%, 0%, 60%)
CIE-LABlab(19.55, 36.33, -36.81)
CIE-LCHlch(19.55, 51.72, 314.62°)
OKLaboklab(32.26% 0.0781 -0.1045)
OKLCHoklch(32.26% 0.13 306.7)
XYZxyz(5.1786, 2.8778, 12.8505)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451866 #396618
analogous
#1E1866 #451866 #661860
triadic
#451866 #664518 #186645
tetradic
#451866 #661E18 #396618 #186066
square
#451866 #661E18 #396618 #186066
split-complementary
#451866 #606618 #18661E
monochromatic
#110619 #230C34 #451866 #672498 #882FC9

Accessibility & contrast

On white

13.33
#451866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#451866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451866
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451866#FFFFFF#000000##FFFFFF
##4518661.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#003064
Tritanopia (blue-blind)
#3F2A3D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #451866;
/* rgb */ color: rgb(69, 24, 102);
/* oklch */ color: oklch(32.3% 0.130 306.7);
Tailwind
colors: {
  custom: {
    50: '#7c5a92',
    500: '#451866',
    950: '#000000',
  },
}
SCSS
$custom: #451866;
$custom-light: #7c5a92;
$custom-dark: #000000;
JSON
{
  "hex": "#451866",
  "rgb": {
    "r": 69,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 274.615,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32263,
    "c": 0.13047,
    "h": 306.7
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#451866
secondary
#669C3E
accent
#E54387
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #451866

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

Preview Lab → · Contrast checker → · Palette generator →

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