#45368D#45368D

#45368D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.0% C 0.138 H 286.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#45368D
RGBrgb(69, 54, 141)
HSLhsl(250, 45%, 38%)
HSVhsv(250, 62%, 55%)
CMYKcmyk(51.1%, 61.7%, 0%, 44.7%)
CIE-LABlab(28.97, 30.46, -46.33)
CIE-LCHlch(28.97, 55.45, 303.32°)
OKLaboklab(40.04% 0.0387 -0.1326)
OKLCHoklch(40.04% 0.138 286.3)
XYZxyz(8.5797, 5.8262, 25.8666)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45368D #7E8D36
analogous
#36528D #45368D #70368D
triadic
#45368D #8D4536 #368D45
tetradic
#45368D #8D3652 #7E8D36 #368D70
square
#45368D #8D3652 #7E8D36 #368D70
split-complementary
#45368D #8D7036 #528D36
monochromatic
#1A1434 #2F2561 #45368D #5B47B9 #8374CA

Accessibility & contrast

On white

9.70
#45368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#45368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45368D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45368D#FFFFFF#000000##FFFFFF
##45368D1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#2B4A5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #45368d;
/* rgb */ color: rgb(69, 54, 141);
/* oklch */ color: oklch(40.0% 0.138 286.3);
Tailwind
colors: {
  custom: {
    50: '#7f6eaf',
    500: '#45368d',
    950: '#000000',
  },
}
SCSS
$custom: #45368d;
$custom-light: #7f6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#45368d",
  "rgb": {
    "r": 69,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 250.345,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40041,
    "c": 0.13813,
    "h": 286.3
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#45368D
secondary
#A6B26D
accent
#D453BE
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #45368D

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

Preview Lab → · Contrast checker → · Palette generator →

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