#452896#452896

#452896 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.168 H 287.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#452896
RGBrgb(69, 40, 150)
HSLhsl(256, 58%, 37%)
HSVhsv(256, 73%, 59%)
CMYKcmyk(54%, 73.3%, 0%, 41.2%)
CIE-LABlab(26.69, 41.47, -55.59)
CIE-LCHlch(26.69, 69.35, 306.72°)
OKLaboklab(38.63% 0.0516 -0.1598)
OKLCHoklch(38.63% 0.168 287.9)
XYZxyz(8.7164, 4.9844, 29.3510)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452896 #799628
analogous
#284296 #452896 #7C2896
triadic
#452896 #964528 #289645
tetradic
#452896 #962842 #799628 #28967C
square
#452896 #962842 #799628 #28967C
split-complementary
#452896 #967C28 #429628
monochromatic
#190E35 #2F1B66 #452896 #5B35C6 #8163D5

Accessibility & contrast

On white

10.52
#452896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#452896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452896
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452896#FFFFFF#000000##FFFFFF
##4528961.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #452896;
/* rgb */ color: rgb(69, 40, 150);
/* oklch */ color: oklch(38.6% 0.168 287.9);
Tailwind
colors: {
  custom: {
    50: '#8165b6',
    500: '#452896',
    950: '#000000',
  },
}
SCSS
$custom: #452896;
$custom-light: #8165b6;
$custom-dark: #000000;
JSON
{
  "hex": "#452896",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 255.818,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38632,
    "c": 0.16792,
    "h": 287.9
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#452896
secondary
#A3BB5F
accent
#E147B8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #452896

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

Preview Lab → · Contrast checker → · Palette generator →

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