#45307E#45307E

#45307E is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.8% C 0.126 H 291.6°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#45307E
RGBrgb(69, 48, 126)
HSLhsl(256, 45%, 34%)
HSVhsv(256, 62%, 49%)
CMYKcmyk(45.2%, 61.9%, 0%, 50.6%)
CIE-LABlab(26.41, 29.52, -41.13)
CIE-LCHlch(26.41, 50.63, 305.67°)
OKLaboklab(37.8% 0.0465 -0.1173)
OKLCHoklch(37.8% 0.126 291.6)
XYZxyz(7.2761, 4.8852, 20.2942)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45307E #697E30
analogous
#30427E #45307E #6C307E
triadic
#45307E #7E4530 #307E45
tetradic
#45307E #7E3042 #697E30 #307E6C
square
#45307E #7E3042 #697E30 #307E6C
split-complementary
#45307E #7E6C30 #427E30
monochromatic
#140E25 #2D1F52 #45307E #5D41AA #7E64C4

Accessibility & contrast

On white

10.62
#45307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#45307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45307E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45307E#FFFFFF#000000##FFFFFF
##45307E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#354152
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45307e;
/* rgb */ color: rgb(69, 48, 126);
/* oklch */ color: oklch(37.8% 0.126 291.6);
Tailwind
colors: {
  custom: {
    50: '#7d69a4',
    500: '#45307e',
    950: '#000000',
  },
}
SCSS
$custom: #45307e;
$custom-light: #7d69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#45307e",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 256.154,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37803,
    "c": 0.12619,
    "h": 291.6
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#45307E
secondary
#97AB5F
accent
#D553B2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45307E

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

Preview Lab → · Contrast checker → · Palette generator →

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