#452898#452898

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

Color values

HEX#452898
RGBrgb(69, 40, 152)
HSLhsl(256, 58%, 38%)
HSVhsv(256, 74%, 60%)
CMYKcmyk(54.6%, 73.7%, 0%, 40.4%)
CIE-LABlab(26.87, 42.06, -56.52)
CIE-LCHlch(26.87, 70.45, 306.66°)
OKLaboklab(38.82% 0.0512 -0.1625)
OKLCHoklch(38.82% 0.17 287.5)
XYZxyz(8.8789, 5.0493, 30.2064)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452898 #7B9828
analogous
#284398 #452898 #7D2898
triadic
#452898 #984528 #289845
tetradic
#452898 #982843 #7B9828 #28987D
square
#452898 #982843 #7B9828 #28987D
split-complementary
#452898 #987D28 #439828
monochromatic
#190F37 #2F1B68 #452898 #5B35C8 #8264D6

Accessibility & contrast

On white

10.45
#452898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#452898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452898
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452898#FFFFFF#000000##FFFFFF
##4528981.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#23465D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #452898;
/* rgb */ color: rgb(69, 40, 152);
/* oklch */ color: oklch(38.8% 0.170 287.5);
Tailwind
colors: {
  custom: {
    50: '#8265b7',
    500: '#452898',
    950: '#000000',
  },
}
SCSS
$custom: #452898;
$custom-light: #8265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452898",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 255.536,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38819,
    "c": 0.17037,
    "h": 287.5
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#452898
secondary
#A4BC60
accent
#E246B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452898

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

Preview Lab → · Contrast checker → · Palette generator →

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