#452398#452398

#452398 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.176 H 288.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#452398
RGBrgb(69, 35, 152)
HSLhsl(257, 63%, 37%)
HSVhsv(257, 77%, 60%)
CMYKcmyk(54.6%, 77%, 0%, 40.4%)
CIE-LABlab(25.96, 44.65, -58.01)
CIE-LCHlch(25.96, 73.20, 307.58°)
OKLaboklab(38.18% 0.0553 -0.1668)
OKLCHoklch(38.18% 0.176 288.3)
XYZxyz(8.7211, 4.7338, 30.1539)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452398 #769823
analogous
#233C98 #452398 #802398
triadic
#452398 #984523 #239845
tetradic
#452398 #98233C #769823 #239880
square
#452398 #98233C #769823 #239880
split-complementary
#452398 #988023 #3C9823
monochromatic
#180C35 #2E1866 #452398 #5C2ECA #805CD9

Accessibility & contrast

On white

10.79
#452398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#452398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452398
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452398#FFFFFF#000000##FFFFFF
##4523981.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#24445C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452398;
/* rgb */ color: rgb(69, 35, 152);
/* oklch */ color: oklch(38.2% 0.176 288.3);
Tailwind
colors: {
  custom: {
    50: '#8262b7',
    500: '#452398',
    950: '#000000',
  },
}
SCSS
$custom: #452398;
$custom-light: #8262b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452398",
  "rgb": {
    "r": 69,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 257.436,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38176,
    "c": 0.17577,
    "h": 288.3
  },
  "luminance": 0.04734
}

Semantic roles & 50–950 ramp

primary
#452398
secondary
#A1BE59
accent
#E642B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452398

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

Preview Lab → · Contrast checker → · Palette generator →

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