#45368F#45368F

#45368F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.141 H 285.9°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#45368F
RGBrgb(69, 54, 143)
HSLhsl(250, 45%, 39%)
HSVhsv(250, 62%, 56%)
CMYKcmyk(51.7%, 62.2%, 0%, 43.9%)
CIE-LABlab(29.12, 31.09, -47.32)
CIE-LCHlch(29.12, 56.62, 303.31°)
OKLaboklab(40.2% 0.0386 -0.1355)
OKLCHoklch(40.2% 0.141 285.9)
XYZxyz(8.7299, 5.8863, 26.6574)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45368F #808F36
analogous
#36538F #45368F #71368F
triadic
#45368F #8F4536 #368F45
tetradic
#45368F #8F3653 #808F36 #368F71
square
#45368F #8F3653 #808F36 #368F71
split-complementary
#45368F #8F7136 #538F36
monochromatic
#1A1436 #302563 #45368F #5B48BA #8375CB

Accessibility & contrast

On white

9.64
#45368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#45368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45368F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45368F#FFFFFF#000000##FFFFFF
##45368F1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#2A4B5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #45368f;
/* rgb */ color: rgb(69, 54, 143);
/* oklch */ color: oklch(40.2% 0.141 285.9);
Tailwind
colors: {
  custom: {
    50: '#7f6eb0',
    500: '#45368f',
    950: '#000000',
  },
}
SCSS
$custom: #45368f;
$custom-light: #7f6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#45368f",
  "rgb": {
    "r": 69,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 250.112,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40202,
    "c": 0.14089,
    "h": 285.9
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#45368F
secondary
#A8B36D
accent
#D553BF
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #45368F

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

Preview Lab → · Contrast checker → · Palette generator →

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