#452E82#452E82

#452E82 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.135 H 291.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#452E82
RGBrgb(69, 46, 130)
HSLhsl(256, 48%, 35%)
HSVhsv(256, 65%, 51%)
CMYKcmyk(46.9%, 64.6%, 0%, 49%)
CIE-LABlab(26.25, 31.97, -43.90)
CIE-LCHlch(26.25, 54.31, 306.07°)
OKLaboklab(37.78% 0.0486 -0.1255)
OKLCHoklch(37.78% 0.135 291.2)
XYZxyz(7.4594, 4.8307, 21.6541)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452E82 #6B822E
analogous
#2E4182 #452E82 #6F2E82
triadic
#452E82 #82452E #2E8245
tetradic
#452E82 #822E41 #6B822E #2E826F
square
#452E82 #822E41 #6B822E #2E826F
split-complementary
#452E82 #826F2E #41822E
monochromatic
#150E28 #2D1E55 #452E82 #5D3EAF #7E63C8

Accessibility & contrast

On white

10.68
#452E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#452E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452E82
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452E82#FFFFFF#000000##FFFFFF
##452E821.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#334253
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #452e82;
/* rgb */ color: rgb(69, 46, 130);
/* oklch */ color: oklch(37.8% 0.135 291.2);
Tailwind
colors: {
  custom: {
    50: '#7e68a7',
    500: '#452e82',
    950: '#000000',
  },
}
SCSS
$custom: #452e82;
$custom-light: #7e68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#452e82",
  "rgb": {
    "r": 69,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 256.429,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37784,
    "c": 0.13457,
    "h": 291.2
  },
  "luminance": 0.04831
}

Semantic roles & 50–950 ramp

primary
#452E82
secondary
#98AE5D
accent
#D750B2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #452E82

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

Preview Lab → · Contrast checker → · Palette generator →

#452E82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva