#45366A#45366A

#45366A is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.5% C 0.087 H 295.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#45366A
RGBrgb(69, 54, 106)
HSLhsl(257, 33%, 31%)
HSVhsv(257, 49%, 42%)
CMYKcmyk(34.9%, 49.1%, 0%, 58.4%)
CIE-LABlab(26.57, 19.63, -28.14)
CIE-LCHlch(26.57, 34.31, 304.90°)
OKLaboklab(37.5% 0.0372 -0.0792)
OKLCHoklch(37.5% 0.087 295.1)
XYZxyz(6.3743, 4.9440, 14.2513)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45366A #5B6A36
analogous
#36416A #45366A #5F366A
triadic
#45366A #6A4536 #366A45
tetradic
#45366A #6A3641 #5B6A36 #366A5F
square
#45366A #6A3641 #5B6A36 #366A5F
split-complementary
#45366A #6A5F36 #416A36
monochromatic
#100D19 #2B2141 #45366A #5F4B93 #7E68B2

Accessibility & contrast

On white

10.56
#45366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#45366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45366A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45366A#FFFFFF#000000##FFFFFF
##45366A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#283E69
Tritanopia (blue-blind)
#3D404B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45366a;
/* rgb */ color: rgb(69, 54, 106);
/* oklch */ color: oklch(37.5% 0.087 295.1);
Tailwind
colors: {
  custom: {
    50: '#7b6d95',
    500: '#45366a',
    950: '#000000',
  },
}
SCSS
$custom: #45366a;
$custom-light: #7b6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#45366a",
  "rgb": {
    "r": 69,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 257.308,
    "s": 32.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.08749,
    "h": 295.1
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#45366A
secondary
#8A9B61
accent
#C95FAA
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#09070D
muted
#7B7A7E

Preview Lab

Preview with #45366A

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

Preview Lab → · Contrast checker → · Palette generator →

#45366A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva