#452298#452298

#452298 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.177 H 288.5°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#452298
RGBrgb(69, 34, 152)
HSLhsl(258, 63%, 36%)
HSVhsv(258, 78%, 60%)
CMYKcmyk(54.6%, 77.6%, 0%, 40.4%)
CIE-LABlab(25.79, 45.14, -58.30)
CIE-LCHlch(25.79, 73.73, 307.75°)
OKLaboklab(38.06% 0.0561 -0.1677)
OKLCHoklch(38.06% 0.177 288.5)
XYZxyz(8.6921, 4.6758, 30.1442)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452298 #759822
analogous
#223A98 #452298 #802298
triadic
#452298 #984522 #229845
tetradic
#452298 #98223A #759822 #229880
square
#452298 #98223A #759822 #229880
split-complementary
#452298 #988022 #3A9822
monochromatic
#180C34 #2E1766 #452298 #5C2DCA #805ADA

Accessibility & contrast

On white

10.85
#452298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#452298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452298
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452298#FFFFFF#000000##FFFFFF
##4522981.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452298;
/* rgb */ color: rgb(69, 34, 152);
/* oklch */ color: oklch(38.1% 0.177 288.5);
Tailwind
colors: {
  custom: {
    50: '#8261b7',
    500: '#452298',
    950: '#000000',
  },
}
SCSS
$custom: #452298;
$custom-light: #8261b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452298",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 257.797,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38056,
    "c": 0.17679,
    "h": 288.5
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#452298
secondary
#A0BE57
accent
#E641B5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #452298

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

Preview Lab → · Contrast checker → · Palette generator →

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