#452CA2#452CA2

#452CA2 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.178 H 284.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#452CA2
RGBrgb(69, 44, 162)
HSLhsl(253, 57%, 40%)
HSVhsv(253, 73%, 64%)
CMYKcmyk(57.4%, 72.8%, 0%, 36.5%)
CIE-LABlab(28.58, 42.91, -59.82)
CIE-LCHlch(28.58, 73.62, 305.65°)
OKLaboklab(40.31% 0.0456 -0.1722)
OKLCHoklch(40.31% 0.178 284.8)
XYZxyz(9.8745, 5.6746, 34.7504)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#452CA2 #89A22C
analogous
#2C4EA2 #452CA2 #802CA2
triadic
#452CA2 #A2452C #2CA245
tetradic
#452CA2 #A22C4E #89A22C #2CA280
square
#452CA2 #A22C4E #89A22C #2CA280
split-complementary
#452CA2 #A2802C #4EA22C
monochromatic
#1C1242 #311F72 #452CA2 #5E40CB #8670D8

Accessibility & contrast

On white

9.84
#452CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#452CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #452CA2
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##452CA2#FFFFFF#000000##FFFFFF
##452CA21.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#164C64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #452ca2;
/* rgb */ color: rgb(69, 44, 162);
/* oklch */ color: oklch(40.3% 0.178 284.8);
Tailwind
colors: {
  custom: {
    50: '#8368bf',
    500: '#452ca2',
    950: '#000000',
  },
}
SCSS
$custom: #452ca2;
$custom-light: #8368bf;
$custom-dark: #000000;
JSON
{
  "hex": "#452ca2",
  "rgb": {
    "r": 69,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 252.712,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.17814,
    "h": 284.8
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#452CA2
secondary
#ADBF6A
accent
#E147C0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #452CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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