#452698#452698

#452698 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.173 H 287.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#452698
RGBrgb(69, 38, 152)
HSLhsl(256, 60%, 37%)
HSVhsv(256, 75%, 60%)
CMYKcmyk(54.6%, 75%, 0%, 40.4%)
CIE-LABlab(26.50, 43.12, -57.13)
CIE-LCHlch(26.50, 71.58, 307.04°)
OKLaboklab(38.55% 0.0529 -0.1643)
OKLCHoklch(38.55% 0.173 287.8)
XYZxyz(8.8132, 4.9180, 30.1846)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452698 #799826
analogous
#264098 #452698 #7E2698
triadic
#452698 #984526 #269845
tetradic
#452698 #982640 #799826 #26987E
square
#452698 #982640 #799826 #26987E
split-complementary
#452698 #987E26 #409826
monochromatic
#190E36 #2F1A67 #452698 #5B32C9 #8161D7

Accessibility & contrast

On white

10.59
#452698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452698
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452698#FFFFFF#000000##FFFFFF
##4526981.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#23455D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #452698;
/* rgb */ color: rgb(69, 38, 152);
/* oklch */ color: oklch(38.6% 0.173 287.8);
Tailwind
colors: {
  custom: {
    50: '#8264b7',
    500: '#452698',
    950: '#000000',
  },
}
SCSS
$custom: #452698;
$custom-light: #8264b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452698",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 256.316,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38554,
    "c": 0.17258,
    "h": 287.8
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#452698
secondary
#A3BD5D
accent
#E345B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452698

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

Preview Lab → · Contrast checker → · Palette generator →

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