#452598#452598

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

Color values

HEX#452598
RGBrgb(69, 37, 152)
HSLhsl(257, 61%, 37%)
HSVhsv(257, 76%, 60%)
CMYKcmyk(54.6%, 75.7%, 0%, 40.4%)
CIE-LABlab(26.32, 43.64, -57.43)
CIE-LCHlch(26.32, 72.13, 307.23°)
OKLaboklab(38.43% 0.0537 -0.1652)
OKLCHoklch(38.43% 0.174 288)
XYZxyz(8.7816, 4.8549, 30.1740)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452598 #789825
analogous
#253E98 #452598 #7F2598
triadic
#452598 #984525 #259845
tetradic
#452598 #98253E #789825 #25987F
square
#452598 #98253E #789825 #25987F
split-complementary
#452598 #987F25 #3E9825
monochromatic
#180D36 #2F1967 #452598 #5B31C9 #815FD8

Accessibility & contrast

On white

10.65
#452598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#452598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452598
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452598#FFFFFF#000000##FFFFFF
##4525981.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452598;
/* rgb */ color: rgb(69, 37, 152);
/* oklch */ color: oklch(38.4% 0.174 288.0);
Tailwind
colors: {
  custom: {
    50: '#8263b7',
    500: '#452598',
    950: '#000000',
  },
}
SCSS
$custom: #452598;
$custom-light: #8263b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452598",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 256.696,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38426,
    "c": 0.17366,
    "h": 288
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#452598
secondary
#A2BD5C
accent
#E444B7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452598

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

Preview Lab → · Contrast checker → · Palette generator →

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