#452795#452795

#452795 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.168 H 288.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#452795
RGBrgb(69, 39, 149)
HSLhsl(256, 59%, 37%)
HSVhsv(256, 74%, 58%)
CMYKcmyk(53.7%, 73.8%, 0%, 41.6%)
CIE-LABlab(26.41, 41.71, -55.44)
CIE-LCHlch(26.41, 69.38, 306.95°)
OKLaboklab(38.4% 0.0527 -0.1593)
OKLCHoklch(38.4% 0.168 288.3)
XYZxyz(8.6030, 4.8858, 28.9177)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452795 #779527
analogous
#274095 #452795 #7C2795
triadic
#452795 #954527 #279545
tetradic
#452795 #952740 #779527 #27957C
square
#452795 #952740 #779527 #27957C
split-complementary
#452795 #957C27 #409527
monochromatic
#180E34 #2F1A64 #452795 #5B34C6 #8161D6

Accessibility & contrast

On white

10.62
#452795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#452795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452795
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452795#FFFFFF#000000##FFFFFF
##4527951.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#26445B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452795;
/* rgb */ color: rgb(69, 39, 149);
/* oklch */ color: oklch(38.4% 0.168 288.3);
Tailwind
colors: {
  custom: {
    50: '#8164b5',
    500: '#452795',
    950: '#000000',
  },
}
SCSS
$custom: #452795;
$custom-light: #8164b5;
$custom-dark: #000000;
JSON
{
  "hex": "#452795",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 256.364,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38403,
    "c": 0.16785,
    "h": 288.3
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

primary
#452795
secondary
#A1BB5D
accent
#E246B7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452795

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

Preview Lab → · Contrast checker → · Palette generator →

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