#452078#452078

#452078 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.141 H 297.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#452078
RGBrgb(69, 32, 120)
HSLhsl(265, 58%, 30%)
HSVhsv(265, 73%, 47%)
CMYKcmyk(42.5%, 73.3%, 0%, 52.9%)
CIE-LABlab(22.49, 37.07, -43.67)
CIE-LCHlch(22.49, 57.28, 310.32°)
OKLaboklab(34.83% 0.0658 -0.1248)
OKLCHoklch(34.83% 0.141 297.8)
XYZxyz(6.3600, 3.6542, 18.1359)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452078 #537820
analogous
#202778 #452078 #712078
triadic
#452078 #784520 #207845
tetradic
#452078 #782027 #537820 #207871
square
#452078 #782027 #537820 #207871
split-complementary
#452078 #787120 #277820
monochromatic
#0E0618 #291348 #452078 #612DA8 #7E45CD

Accessibility & contrast

On white

12.13
#452078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#452078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452078
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452078#FFFFFF#000000##FFFFFF
##4520781.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#383649
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #452078;
/* rgb */ color: rgb(69, 32, 120);
/* oklch */ color: oklch(34.8% 0.141 297.8);
Tailwind
colors: {
  custom: {
    50: '#7e5fa0',
    500: '#452078',
    950: '#000000',
  },
}
SCSS
$custom: #452078;
$custom-light: #7e5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#452078",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 265.227,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34827,
    "c": 0.14106,
    "h": 297.8
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#452078
secondary
#82AB48
accent
#E147A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #452078

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

Preview Lab → · Contrast checker → · Palette generator →

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