#45367F#45367F

#45367F is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.0% C 0.118 H 289.2°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#45367F
RGBrgb(69, 54, 127)
HSLhsl(252, 40%, 35%)
HSVhsv(252, 57%, 50%)
CMYKcmyk(45.7%, 57.5%, 0%, 50.2%)
CIE-LABlab(27.94, 26.03, -39.28)
CIE-LCHlch(27.94, 47.13, 303.53°)
OKLaboklab(38.96% 0.0389 -0.1119)
OKLCHoklch(38.96% 0.118 289.2)
XYZxyz(7.6031, 5.4356, 20.7231)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45367F #707F36
analogous
#364B7F #45367F #69367F
triadic
#45367F #7F4536 #367F45
tetradic
#45367F #7F364B #707F36 #367F69
square
#45367F #7F364B #707F36 #367F69
split-complementary
#45367F #7F6936 #4B7F36
monochromatic
#161129 #2E2454 #45367F #5C48AA #7F6EC1

Accessibility & contrast

On white

10.06
#45367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#45367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45367F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45367F#FFFFFF#000000##FFFFFF
##45367F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#10407D
Tritanopia (blue-blind)
#344655
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #45367f;
/* rgb */ color: rgb(69, 54, 127);
/* oklch */ color: oklch(39.0% 0.118 289.2);
Tailwind
colors: {
  custom: {
    50: '#7d6da5',
    500: '#45367f',
    950: '#000000',
  },
}
SCSS
$custom: #45367f;
$custom-light: #7d6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#45367f",
  "rgb": {
    "r": 69,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 252.329,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38956,
    "c": 0.11844,
    "h": 289.2
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#45367F
secondary
#9CAA67
accent
#D058B7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #45367F

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

Preview Lab → · Contrast checker → · Palette generator →

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