#45347F#45347F

#45347F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.6% C 0.122 H 289.9°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#45347F
RGBrgb(69, 52, 127)
HSLhsl(254, 42%, 35%)
HSVhsv(254, 59%, 50%)
CMYKcmyk(45.7%, 59.1%, 0%, 50.2%)
CIE-LABlab(27.44, 27.31, -40.08)
CIE-LCHlch(27.44, 48.50, 304.27°)
OKLaboklab(38.59% 0.0414 -0.1142)
OKLCHoklch(38.59% 0.122 289.9)
XYZxyz(7.5119, 5.2532, 20.6927)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45347F #6E7F34
analogous
#34497F #45347F #6A347F
triadic
#45347F #7F4534 #347F45
tetradic
#45347F #7F3449 #6E7F34 #347F6A
square
#45347F #7F3449 #6E7F34 #347F6A
split-complementary
#45347F #7F6A34 #497F34
monochromatic
#161028 #2D2254 #45347F #5D46AA #7F6BC2

Accessibility & contrast

On white

10.24
#45347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#45347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45347F
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45347F#FFFFFF#000000##FFFFFF
##45347F1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064282
Deuteranopia (green-blind)
#0A3F7D
Tritanopia (blue-blind)
#344454
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #45347f;
/* rgb */ color: rgb(69, 52, 127);
/* oklch */ color: oklch(38.6% 0.122 289.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ca5',
    500: '#45347f',
    950: '#000000',
  },
}
SCSS
$custom: #45347f;
$custom-light: #7d6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#45347f",
  "rgb": {
    "r": 69,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 253.6,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.12151,
    "h": 289.9
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#45347F
secondary
#9BAA64
accent
#D256B6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #45347F

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

Preview Lab → · Contrast checker → · Palette generator →

#45347F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva