#45327C#45327C

#45327C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.0% C 0.120 H 291.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#45327C
RGBrgb(69, 50, 124)
HSLhsl(255, 43%, 34%)
HSVhsv(255, 60%, 49%)
CMYKcmyk(44.4%, 59.7%, 0%, 51.4%)
CIE-LABlab(26.74, 27.65, -39.33)
CIE-LCHlch(26.74, 48.08, 305.11°)
OKLaboklab(38% 0.044 -0.112)
OKLCHoklch(38% 0.12 291.4)
XYZxyz(7.2319, 5.0014, 19.6492)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45327C #697C32
analogous
#32447C #45327C #6A327C
triadic
#45327C #7C4532 #327C45
tetradic
#45327C #7C3244 #697C32 #327C6A
square
#45327C #7C3244 #697C32 #327C6A
split-complementary
#45327C #7C6A32 #447C32
monochromatic
#140F25 #2D2050 #45327C #5D44A8 #7E67C2

Accessibility & contrast

On white

10.50
#45327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#45327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45327C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45327C#FFFFFF#000000##FFFFFF
##45327C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#0B3E7A
Tritanopia (blue-blind)
#354252
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45327c;
/* rgb */ color: rgb(69, 50, 124);
/* oklch */ color: oklch(38.0% 0.120 291.4);
Tailwind
colors: {
  custom: {
    50: '#7d6aa2',
    500: '#45327c',
    950: '#000000',
  },
}
SCSS
$custom: #45327c;
$custom-light: #7d6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#45327c",
  "rgb": {
    "r": 69,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 255.405,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38001,
    "c": 0.12036,
    "h": 291.4
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#45327C
secondary
#97A961
accent
#D255B2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45327C

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

Preview Lab → · Contrast checker → · Palette generator →

#45327C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva