#452182#452182

#452182 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.152 H 294.4°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#452182
RGBrgb(69, 33, 130)
HSLhsl(262, 60%, 32%)
HSVhsv(262, 75%, 51%)
CMYKcmyk(46.9%, 74.6%, 0%, 49%)
CIE-LABlab(23.55, 39.36, -48.29)
CIE-LCHlch(23.55, 62.29, 309.18°)
OKLaboklab(35.85% 0.0627 -0.1383)
OKLCHoklch(35.85% 0.152 294.4)
XYZxyz(7.0263, 3.9644, 21.5098)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452182 #5E8221
analogous
#212E82 #452182 #762182
triadic
#452182 #824521 #218245
tetradic
#452182 #82212E #5E8221 #218276
square
#452182 #82212E #5E8221 #218276
split-complementary
#452182 #827621 #2E8221
monochromatic
#110820 #2B1551 #452182 #5F2DB3 #7D4CD2

Accessibility & contrast

On white

11.71
#452182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#452182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452182
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452182#FFFFFF#000000##FFFFFF
##4521821.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#333A4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #452182;
/* rgb */ color: rgb(69, 33, 130);
/* oklch */ color: oklch(35.9% 0.152 294.4);
Tailwind
colors: {
  custom: {
    50: '#7f60a7',
    500: '#452182',
    950: '#000000',
  },
}
SCSS
$custom: #452182;
$custom-light: #7f60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#452182",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 262.268,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.15185,
    "h": 294.4
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#452182
secondary
#8DB44A
accent
#E345A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #452182

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

Preview Lab → · Contrast checker → · Palette generator →

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