#45307B#45307B

#45307B is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.122 H 292.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#45307B
RGBrgb(69, 48, 123)
HSLhsl(257, 44%, 34%)
HSVhsv(257, 61%, 48%)
CMYKcmyk(43.9%, 61%, 0%, 51.8%)
CIE-LABlab(26.18, 28.61, -39.60)
CIE-LCHlch(26.18, 48.85, 305.85°)
OKLaboklab(37.57% 0.0466 -0.1128)
OKLCHoklch(37.57% 0.122 292.4)
XYZxyz(7.0854, 4.8090, 19.2900)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45307B #667B30
analogous
#30407B #45307B #6A307B
triadic
#45307B #7B4530 #307B45
tetradic
#45307B #7B3040 #667B30 #307B6A
square
#45307B #7B3040 #667B30 #307B6A
split-complementary
#45307B #7B6A30 #407B30
monochromatic
#140E23 #2C1F4F #45307B #5E41A7 #7E63C2

Accessibility & contrast

On white

10.70
#45307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#45307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45307B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45307B#FFFFFF#000000##FFFFFF
##45307B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#073D79
Tritanopia (blue-blind)
#364150
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45307b;
/* rgb */ color: rgb(69, 48, 123);
/* oklch */ color: oklch(37.6% 0.122 292.4);
Tailwind
colors: {
  custom: {
    50: '#7d69a2',
    500: '#45307b',
    950: '#000000',
  },
}
SCSS
$custom: #45307b;
$custom-light: #7d69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#45307b",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 256.8,
    "s": 43.86,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37569,
    "c": 0.12204,
    "h": 292.4
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#45307B
secondary
#94A95D
accent
#D454B0
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45307B

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

Preview Lab → · Contrast checker → · Palette generator →

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