#45307D#45307D

#45307D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.7% C 0.125 H 291.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#45307D
RGBrgb(69, 48, 125)
HSLhsl(256, 45%, 34%)
HSVhsv(256, 62%, 49%)
CMYKcmyk(44.8%, 61.6%, 0%, 51%)
CIE-LABlab(26.33, 29.22, -40.62)
CIE-LCHlch(26.33, 50.04, 305.72°)
OKLaboklab(37.72% 0.0465 -0.1158)
OKLCHoklch(37.72% 0.125 291.9)
XYZxyz(7.2119, 4.8596, 19.9561)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45307D #687D30
analogous
#30427D #45307D #6C307D
triadic
#45307D #7D4530 #307D45
tetradic
#45307D #7D3042 #687D30 #307D6C
square
#45307D #7D3042 #687D30 #307D6C
split-complementary
#45307D #7D6C30 #427D30
monochromatic
#140E25 #2D1F51 #45307D #5D41A9 #7E64C3

Accessibility & contrast

On white

10.65
#45307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#45307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45307D
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45307D#FFFFFF#000000##FFFFFF
##45307D1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#023D7B
Tritanopia (blue-blind)
#354151
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45307d;
/* rgb */ color: rgb(69, 48, 125);
/* oklch */ color: oklch(37.7% 0.125 291.9);
Tailwind
colors: {
  custom: {
    50: '#7d69a3',
    500: '#45307d',
    950: '#000000',
  },
}
SCSS
$custom: #45307d;
$custom-light: #7d69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#45307d",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 256.364,
    "s": 44.509,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.12481,
    "h": 291.9
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#45307D
secondary
#96AB5E
accent
#D454B1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45307D

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

Preview Lab → · Contrast checker → · Palette generator →

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