#45307A#45307A

#45307A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.5% C 0.121 H 292.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#45307A
RGBrgb(69, 48, 122)
HSLhsl(257, 44%, 33%)
HSVhsv(257, 61%, 48%)
CMYKcmyk(43.4%, 60.7%, 0%, 52.2%)
CIE-LABlab(26.11, 28.30, -39.08)
CIE-LCHlch(26.11, 48.25, 305.91°)
OKLaboklab(37.49% 0.0466 -0.1113)
OKLCHoklch(37.49% 0.121 292.7)
XYZxyz(7.0231, 4.7841, 18.9620)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45307A #657A30
analogous
#30407A #45307A #6A307A
triadic
#45307A #7A4530 #307A45
tetradic
#45307A #7A3040 #657A30 #307A6A
square
#45307A #7A3040 #657A30 #307A6A
split-complementary
#45307A #7A6A30 #407A30
monochromatic
#130D22 #2C1F4E #45307A #5E41A6 #7E63C2

Accessibility & contrast

On white

10.73
#45307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45307A
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45307A#FFFFFF#000000##FFFFFF
##45307A1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7C
Deuteranopia (green-blind)
#0A3C78
Tritanopia (blue-blind)
#374050
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45307a;
/* rgb */ color: rgb(69, 48, 122);
/* oklch */ color: oklch(37.5% 0.121 292.7);
Tailwind
colors: {
  custom: {
    50: '#7d69a1',
    500: '#45307a',
    950: '#000000',
  },
}
SCSS
$custom: #45307a;
$custom-light: #7d69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#45307a",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 257.027,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37493,
    "c": 0.12065,
    "h": 292.7
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#45307A
secondary
#93A95D
accent
#D355AF
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45307A

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

Preview Lab → · Contrast checker → · Palette generator →

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