#452397#452397

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

Color values

HEX#452397
RGBrgb(69, 35, 151)
HSLhsl(258, 62%, 36%)
HSVhsv(258, 77%, 59%)
CMYKcmyk(54.3%, 76.8%, 0%, 40.8%)
CIE-LABlab(25.87, 44.36, -57.56)
CIE-LCHlch(25.87, 72.67, 307.62°)
OKLaboklab(38.08% 0.0556 -0.1655)
OKLCHoklch(38.08% 0.175 288.6)
XYZxyz(8.6396, 4.7012, 29.7243)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452397 #759723
analogous
#233B97 #452397 #7F2397
triadic
#452397 #974523 #239745
tetradic
#452397 #97233B #759723 #23977F
square
#452397 #97233B #759723 #23977F
split-complementary
#452397 #977F23 #3B9723
monochromatic
#180C34 #2E1765 #452397 #5C2FC9 #805BD9

Accessibility & contrast

On white

10.82
#452397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452397
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452397#FFFFFF#000000##FFFFFF
##4523971.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#25435C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452397;
/* rgb */ color: rgb(69, 35, 151);
/* oklch */ color: oklch(38.1% 0.175 288.6);
Tailwind
colors: {
  custom: {
    50: '#8262b7',
    500: '#452397',
    950: '#000000',
  },
}
SCSS
$custom: #452397;
$custom-light: #8262b7;
$custom-dark: #000000;
JSON
{
  "hex": "#452397",
  "rgb": {
    "r": 69,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 257.586,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38079,
    "c": 0.17459,
    "h": 288.6
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#452397
secondary
#A0BE58
accent
#E542B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452397

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

Preview Lab → · Contrast checker → · Palette generator →

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