#452796#452796

#452796 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.169 H 288.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#452796
RGBrgb(69, 39, 150)
HSLhsl(256, 59%, 37%)
HSVhsv(256, 74%, 59%)
CMYKcmyk(54%, 74%, 0%, 41.2%)
CIE-LABlab(26.50, 42.00, -55.91)
CIE-LCHlch(26.50, 69.93, 306.92°)
OKLaboklab(38.5% 0.0525 -0.1607)
OKLCHoklch(38.5% 0.169 288.1)
XYZxyz(8.6832, 4.9178, 29.3400)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452796 #789627
analogous
#274196 #452796 #7D2796
triadic
#452796 #964527 #279645
tetradic
#452796 #962741 #789627 #27967D
square
#452796 #962741 #789627 #27967D
split-complementary
#452796 #967D27 #419627
monochromatic
#180E35 #2F1A65 #452796 #5B34C7 #8161D6

Accessibility & contrast

On white

10.59
#452796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#452796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452796
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452796#FFFFFF#000000##FFFFFF
##4527961.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#25455C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #452796;
/* rgb */ color: rgb(69, 39, 150);
/* oklch */ color: oklch(38.5% 0.169 288.1);
Tailwind
colors: {
  custom: {
    50: '#8264b6',
    500: '#452796',
    950: '#000000',
  },
}
SCSS
$custom: #452796;
$custom-light: #8264b6;
$custom-dark: #000000;
JSON
{
  "hex": "#452796",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 256.216,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.16906,
    "h": 288.1
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#452796
secondary
#A2BC5D
accent
#E246B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452796

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

Preview Lab → · Contrast checker → · Palette generator →

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