#452187#452187

#452187 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.158 H 292.9°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#452187
RGBrgb(69, 33, 135)
HSLhsl(261, 61%, 33%)
HSVhsv(261, 76%, 53%)
CMYKcmyk(48.9%, 75.6%, 0%, 47.1%)
CIE-LABlab(24.01, 40.78, -50.69)
CIE-LCHlch(24.01, 65.05, 308.82°)
OKLaboklab(36.31% 0.0615 -0.1454)
OKLCHoklch(36.31% 0.158 292.9)
XYZxyz(7.3701, 4.1019, 23.3204)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452187 #638721
analogous
#213087 #452187 #782187
triadic
#452187 #874521 #218745
tetradic
#452187 #872130 #638721 #218778
square
#452187 #872130 #638721 #218778
split-complementary
#452187 #877821 #308721
monochromatic
#130925 #2C1556 #452187 #5E2DB8 #7E4FD4

Accessibility & contrast

On white

11.54
#452187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#452187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452187
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452187#FFFFFF#000000##FFFFFF
##4521871.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#313C52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452187;
/* rgb */ color: rgb(69, 33, 135);
/* oklch */ color: oklch(36.3% 0.158 292.9);
Tailwind
colors: {
  custom: {
    50: '#8060ab',
    500: '#452187',
    950: '#000000',
  },
}
SCSS
$custom: #452187;
$custom-light: #8060ab;
$custom-dark: #000000;
JSON
{
  "hex": "#452187",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 261.176,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3631,
    "c": 0.15783,
    "h": 292.9
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#452187
secondary
#92B74D
accent
#E444AB
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #452187

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

Preview Lab → · Contrast checker → · Palette generator →

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