#452799#452799

#452799 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.173 H 287.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#452799
RGBrgb(69, 39, 153)
HSLhsl(256, 59%, 38%)
HSVhsv(256, 75%, 60%)
CMYKcmyk(54.9%, 74.5%, 0%, 40%)
CIE-LABlab(26.78, 42.89, -57.29)
CIE-LCHlch(26.78, 71.56, 306.82°)
OKLaboklab(38.78% 0.0518 -0.1647)
OKLCHoklch(38.78% 0.173 287.5)
XYZxyz(8.9278, 5.0157, 30.6285)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452799 #7B9927
analogous
#274299 #452799 #7E2799
triadic
#452799 #994527 #279945
tetradic
#452799 #992742 #7B9927 #27997E
square
#452799 #992742 #7B9927 #27997E
split-complementary
#452799 #997E27 #429927
monochromatic
#190E37 #2F1B68 #452799 #5B33CA #8263D7

Accessibility & contrast

On white

10.48
#452799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#452799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452799
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452799#FFFFFF#000000##FFFFFF
##4527991.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#22465E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #452799;
/* rgb */ color: rgb(69, 39, 153);
/* oklch */ color: oklch(38.8% 0.173 287.5);
Tailwind
colors: {
  custom: {
    50: '#8264b8',
    500: '#452799',
    950: '#000000',
  },
}
SCSS
$custom: #452799;
$custom-light: #8264b8;
$custom-dark: #000000;
JSON
{
  "hex": "#452799",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 255.789,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3878,
    "c": 0.1727,
    "h": 287.5
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#452799
secondary
#A4BD5F
accent
#E345B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452799

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

Preview Lab → · Contrast checker → · Palette generator →

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