#451266#451266

#451266 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.138 H 307.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#451266
RGBrgb(69, 18, 102)
HSLhsl(276, 70%, 24%)
HSVhsv(276, 82%, 40%)
CMYKcmyk(32.4%, 82.4%, 0%, 60%)
CIE-LABlab(18.62, 38.99, -38.33)
CIE-LCHlch(18.62, 54.68, 315.49°)
OKLaboklab(31.61% 0.0841 -0.1089)
OKLCHoklch(31.61% 0.138 307.7)
XYZxyz(5.0683, 2.6572, 12.8137)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451266 #336612
analogous
#1B1266 #451266 #66125D
triadic
#451266 #664512 #126645
tetradic
#451266 #661B12 #336612 #125D66
square
#451266 #661B12 #336612 #125D66
split-complementary
#451266 #5D6612 #12661B
monochromatic
#12051A #220932 #451266 #681B9A #8B24CE

Accessibility & contrast

On white

13.71
#451266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#451266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451266
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451266#FFFFFF#000000##FFFFFF
##4512661.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#40273C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #451266;
/* rgb */ color: rgb(69, 18, 102);
/* oklch */ color: oklch(31.6% 0.138 307.7);
Tailwind
colors: {
  custom: {
    50: '#7d5792',
    500: '#451266',
    950: '#000000',
  },
}
SCSS
$custom: #451266;
$custom-light: #7d5792;
$custom-dark: #000000;
JSON
{
  "hex": "#451266",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 276.429,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31606,
    "c": 0.13766,
    "h": 307.7
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#451266
secondary
#5F9E36
accent
#ED3B81
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #451266

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

Preview Lab → · Contrast checker → · Palette generator →

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