#452297#452297

#452297 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.176 H 288.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#452297
RGBrgb(69, 34, 151)
HSLhsl(258, 63%, 36%)
HSVhsv(258, 77%, 59%)
CMYKcmyk(54.3%, 77.5%, 0%, 40.8%)
CIE-LABlab(25.69, 44.85, -57.84)
CIE-LCHlch(25.69, 73.19, 307.79°)
OKLaboklab(37.96% 0.0563 -0.1663)
OKLCHoklch(37.96% 0.176 288.7)
XYZxyz(8.6105, 4.6432, 29.7147)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452297 #749722
analogous
#223A97 #452297 #802297
triadic
#452297 #974522 #229745
tetradic
#452297 #97223A #749722 #229780
square
#452297 #97223A #749722 #229780
split-complementary
#452297 #978022 #3A9722
monochromatic
#170C33 #2E1765 #452297 #5C2DC9 #805ADA

Accessibility & contrast

On white

10.89
#452297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#452297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452297
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452297#FFFFFF#000000##FFFFFF
##4522971.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#25435B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452297;
/* rgb */ color: rgb(69, 34, 151);
/* oklch */ color: oklch(38.0% 0.176 288.7);
Tailwind
colors: {
  custom: {
    50: '#8261b7',
    500: '#452297',
    950: '#000000',
  },
}
SCSS
$custom: #452297;
$custom-light: #8261b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452297",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 257.949,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37958,
    "c": 0.17562,
    "h": 288.7
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#452297
secondary
#9FBE57
accent
#E642B5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #452297

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

Preview Lab → · Contrast checker → · Palette generator →

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