#452181#452181

#452181 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.151 H 294.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#452181
RGBrgb(69, 33, 129)
HSLhsl(263, 59%, 32%)
HSVhsv(263, 74%, 51%)
CMYKcmyk(46.5%, 74.4%, 0%, 49.4%)
CIE-LABlab(23.46, 39.07, -47.80)
CIE-LCHlch(23.46, 61.74, 309.26°)
OKLaboklab(35.76% 0.0629 -0.1369)
OKLCHoklch(35.76% 0.151 294.7)
XYZxyz(6.9595, 3.9377, 21.1580)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452181 #5D8121
analogous
#212D81 #452181 #752181
triadic
#452181 #814521 #218145
tetradic
#452181 #81212D #5D8121 #218175
square
#452181 #81212D #5D8121 #218175
split-complementary
#452181 #817521 #2D8121
monochromatic
#110820 #2B1550 #452181 #5F2DB2 #7D4BD1

Accessibility & contrast

On white

11.75
#452181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #452181
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452181#FFFFFF#000000##FFFFFF
##4521811.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#343A4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #452181;
/* rgb */ color: rgb(69, 33, 129);
/* oklch */ color: oklch(35.8% 0.151 294.7);
Tailwind
colors: {
  custom: {
    50: '#7f60a6',
    500: '#452181',
    950: '#000000',
  },
}
SCSS
$custom: #452181;
$custom-light: #7f60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#452181",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 262.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3576,
    "c": 0.15065,
    "h": 294.7
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#452181
secondary
#8CB44A
accent
#E245A8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #452181

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

Preview Lab → · Contrast checker → · Palette generator →

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