#452791#452791

#452791 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.163 H 289.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#452791
RGBrgb(69, 39, 145)
HSLhsl(257, 58%, 36%)
HSVhsv(257, 73%, 57%)
CMYKcmyk(52.4%, 73.1%, 0%, 43.1%)
CIE-LABlab(26.04, 40.52, -53.58)
CIE-LCHlch(26.04, 67.18, 307.10°)
OKLaboklab(38.03% 0.0536 -0.1539)
OKLCHoklch(38.03% 0.163 289.2)
XYZxyz(8.2891, 4.7602, 27.2646)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452791 #739127
analogous
#273E91 #452791 #7A2791
triadic
#452791 #914527 #279145
tetradic
#452791 #91273E #739127 #27917A
square
#452791 #91273E #739127 #27917A
split-complementary
#452791 #917A27 #3E9127
monochromatic
#170D31 #2E1A61 #452791 #5C34C1 #805FD4

Accessibility & contrast

On white

10.76
#452791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452791
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452791#FFFFFF#000000##FFFFFF
##4527911.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#294359
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452791;
/* rgb */ color: rgb(69, 39, 145);
/* oklch */ color: oklch(38.0% 0.163 289.2);
Tailwind
colors: {
  custom: {
    50: '#8164b2',
    500: '#452791',
    950: '#000000',
  },
}
SCSS
$custom: #452791;
$custom-light: #8164b2;
$custom-dark: #000000;
JSON
{
  "hex": "#452791",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 256.981,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3803,
    "c": 0.16295,
    "h": 289.2
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#452791
secondary
#9EB95B
accent
#E147B5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #452791

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

Preview Lab → · Contrast checker → · Palette generator →

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