#452198#452198

#452198 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.178 H 288.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#452198
RGBrgb(69, 33, 152)
HSLhsl(258, 64%, 36%)
HSVhsv(258, 78%, 60%)
CMYKcmyk(54.6%, 78.3%, 0%, 40.4%)
CIE-LABlab(25.62, 45.62, -58.57)
CIE-LCHlch(25.62, 74.24, 307.91°)
OKLaboklab(37.94% 0.0568 -0.1685)
OKLCHoklch(37.94% 0.178 288.6)
XYZxyz(8.6639, 4.6195, 30.1348)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452198 #749821
analogous
#213998 #452198 #812198
triadic
#452198 #984521 #219845
tetradic
#452198 #982139 #749821 #219881
square
#452198 #982139 #749821 #219881
split-complementary
#452198 #988121 #399821
monochromatic
#170B33 #2E1666 #452198 #5C2CCA #8059DB

Accessibility & contrast

On white

10.91
#452198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#452198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452198
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452198#FFFFFF#000000##FFFFFF
##4521981.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#24435C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452198;
/* rgb */ color: rgb(69, 33, 152);
/* oklch */ color: oklch(37.9% 0.178 288.6);
Tailwind
colors: {
  custom: {
    50: '#8261b7',
    500: '#452198',
    950: '#000000',
  },
}
SCSS
$custom: #452198;
$custom-light: #8261b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452198",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 258.151,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37938,
    "c": 0.17779,
    "h": 288.6
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#452198
secondary
#9FBF56
accent
#E740B5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #452198

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

Preview Lab → · Contrast checker → · Palette generator →

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