#452082#452082

#452082 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.153 H 294.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#452082
RGBrgb(69, 32, 130)
HSLhsl(263, 60%, 32%)
HSVhsv(263, 75%, 51%)
CMYKcmyk(46.9%, 75.4%, 0%, 49%)
CIE-LABlab(23.37, 39.87, -48.58)
CIE-LCHlch(23.37, 62.85, 309.37°)
OKLaboklab(35.72% 0.0636 -0.1392)
OKLCHoklch(35.72% 0.153 294.6)
XYZxyz(6.9989, 3.9097, 21.5007)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452082 #5D8220
analogous
#202C82 #452082 #762082
triadic
#452082 #824520 #208245
tetradic
#452082 #82202C #5D8220 #208276
square
#452082 #82202C #5D8220 #208276
split-complementary
#452082 #827620 #2C8220
monochromatic
#110820 #2B1451 #452082 #5F2CB3 #7D4AD2

Accessibility & contrast

On white

11.78
#452082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#452082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452082
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452082#FFFFFF#000000##FFFFFF
##4520821.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.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: #452082;
/* rgb */ color: rgb(69, 32, 130);
/* oklch */ color: oklch(35.7% 0.153 294.6);
Tailwind
colors: {
  custom: {
    50: '#7f5fa7',
    500: '#452082',
    950: '#000000',
  },
}
SCSS
$custom: #452082;
$custom-light: #7f5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#452082",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 262.653,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35721,
    "c": 0.15304,
    "h": 294.6
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#452082
secondary
#8CB549
accent
#E444A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #452082

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

Preview Lab → · Contrast checker → · Palette generator →

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