#451274#451274

#451274 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.152 H 301.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#451274
RGBrgb(69, 18, 116)
HSLhsl(271, 73%, 26%)
HSVhsv(271, 84%, 45%)
CMYKcmyk(40.5%, 84.5%, 0%, 54.5%)
CIE-LABlab(19.88, 42.45, -45.38)
CIE-LCHlch(19.88, 62.14, 313.09°)
OKLaboklab(32.88% 0.08 -0.1297)
OKLCHoklch(32.88% 0.152 301.7)
XYZxyz(5.8222, 2.9587, 16.7840)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#451274 #417412
analogous
#141274 #451274 #741272
triadic
#451274 #744512 #127445
tetradic
#451274 #741412 #417412 #127274
square
#451274 #741412 #417412 #127274
split-complementary
#451274 #727412 #127414
monochromatic
#10041A #250A3F #451274 #651AA9 #8423DD

Accessibility & contrast

On white

13.19
#451274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#451274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #451274
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##451274#FFFFFF#000000##FFFFFF
##4512741.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#3B2D44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #451274;
/* rgb */ color: rgb(69, 18, 116);
/* oklch */ color: oklch(32.9% 0.152 301.7);
Tailwind
colors: {
  custom: {
    50: '#7e579d',
    500: '#451274',
    950: '#000000',
  },
}
SCSS
$custom: #451274;
$custom-light: #7e579d;
$custom-dark: #000000;
JSON
{
  "hex": "#451274",
  "rgb": {
    "r": 69,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 271.224,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32878,
    "c": 0.15236,
    "h": 301.7
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#451274
secondary
#6FAB37
accent
#F03890
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #451274

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

Preview Lab → · Contrast checker → · Palette generator →

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