#45367B#45367B

#45367B is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.7% C 0.113 H 290.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#45367B
RGBrgb(69, 54, 123)
HSLhsl(253, 39%, 35%)
HSVhsv(253, 56%, 48%)
CMYKcmyk(43.9%, 56.1%, 0%, 51.8%)
CIE-LABlab(27.66, 24.79, -37.21)
CIE-LCHlch(27.66, 44.71, 303.67°)
OKLaboklab(38.66% 0.0388 -0.1058)
OKLCHoklch(38.66% 0.113 290.1)
XYZxyz(7.3476, 5.3334, 19.3774)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45367B #6C7B36
analogous
#364A7B #45367B #67367B
triadic
#45367B #7B4536 #367B45
tetradic
#45367B #7B364A #6C7B36 #367B67
square
#45367B #7B364A #6C7B36 #367B67
split-complementary
#45367B #7B6736 #4A7B36
monochromatic
#151126 #2D2350 #45367B #5D49A6 #7E6DBF

Accessibility & contrast

On white

10.16
#45367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#45367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45367B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45367B#FFFFFF#000000##FFFFFF
##45367B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437D
Deuteranopia (green-blind)
#174079
Tritanopia (blue-blind)
#364553
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #45367b;
/* rgb */ color: rgb(69, 54, 123);
/* oklch */ color: oklch(38.7% 0.113 290.1);
Tailwind
colors: {
  custom: {
    50: '#7c6da2',
    500: '#45367b',
    950: '#000000',
  },
}
SCSS
$custom: #45367b;
$custom-light: #7c6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#45367b",
  "rgb": {
    "r": 69,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 253.043,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.11267,
    "h": 290.1
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#45367B
secondary
#99A765
accent
#CF59B5
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #45367B

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

Preview Lab → · Contrast checker → · Palette generator →

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