#452186#452186

#452186 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.157 H 293.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#452186
RGBrgb(69, 33, 134)
HSLhsl(261, 60%, 33%)
HSVhsv(261, 75%, 53%)
CMYKcmyk(48.5%, 75.4%, 0%, 47.5%)
CIE-LABlab(23.91, 40.49, -50.21)
CIE-LCHlch(23.91, 64.50, 308.88°)
OKLaboklab(36.22% 0.0617 -0.144)
OKLCHoklch(36.22% 0.157 293.2)
XYZxyz(7.3000, 4.0739, 22.9514)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452186 #628621
analogous
#213086 #452186 #772186
triadic
#452186 #864521 #218645
tetradic
#452186 #862130 #628621 #218677
square
#452186 #862130 #628621 #218677
split-complementary
#452186 #867721 #308621
monochromatic
#120924 #2C1555 #452186 #5E2DB7 #7E4ED3

Accessibility & contrast

On white

11.57
#452186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#452186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452186
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452186#FFFFFF#000000##FFFFFF
##4521861.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#313C51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #452186;
/* rgb */ color: rgb(69, 33, 134);
/* oklch */ color: oklch(36.2% 0.157 293.2);
Tailwind
colors: {
  custom: {
    50: '#8060aa',
    500: '#452186',
    950: '#000000',
  },
}
SCSS
$custom: #452186;
$custom-light: #8060aa;
$custom-dark: #000000;
JSON
{
  "hex": "#452186",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 261.386,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36217,
    "c": 0.15663,
    "h": 293.2
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#452186
secondary
#91B74C
accent
#E444AB
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #452186

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

Preview Lab → · Contrast checker → · Palette generator →

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