#452496#452496

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

Color values

HEX#452496
RGBrgb(69, 36, 150)
HSLhsl(257, 61%, 36%)
HSVhsv(257, 76%, 59%)
CMYKcmyk(54%, 76%, 0%, 41.2%)
CIE-LABlab(25.95, 43.56, -56.81)
CIE-LCHlch(25.95, 71.59, 307.48°)
OKLaboklab(38.11% 0.055 -0.1633)
OKLCHoklch(38.11% 0.172 288.6)
XYZxyz(8.5885, 4.7286, 29.3084)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452496 #759624
analogous
#243C96 #452496 #7E2496
triadic
#452496 #964524 #249645
tetradic
#452496 #96243C #759624 #24967E
square
#452496 #96243C #759624 #24967E
split-complementary
#452496 #967E24 #3C9624
monochromatic
#180C33 #2E1865 #452496 #5C30C7 #805CD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##452496#FFFFFF#000000##FFFFFF
##4524961.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)
#004099
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#25435B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #452496;
/* rgb */ color: rgb(69, 36, 150);
/* oklch */ color: oklch(38.1% 0.172 288.6);
Tailwind
colors: {
  custom: {
    50: '#8262b6',
    500: '#452496',
    950: '#000000',
  },
}
SCSS
$custom: #452496;
$custom-light: #8262b6;
$custom-dark: #000000;
JSON
{
  "hex": "#452496",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 257.368,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38107,
    "c": 0.17236,
    "h": 288.6
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#452496
secondary
#A0BD59
accent
#E443B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452496

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

Preview Lab → · Contrast checker → · Palette generator →

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