#45309D#45309D

#45309D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.167 H 284.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#45309D
RGBrgb(69, 48, 157)
HSLhsl(252, 53%, 40%)
HSVhsv(252, 69%, 62%)
CMYKcmyk(56.1%, 69.4%, 0%, 38.4%)
CIE-LABlab(28.94, 39.13, -56.20)
CIE-LCHlch(28.94, 68.48, 304.85°)
OKLaboklab(40.43% 0.0431 -0.1616)
OKLCHoklch(40.43% 0.167 284.9)
XYZxyz(9.5952, 5.8129, 32.5081)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45309D #889D30
analogous
#30519D #45309D #7C309D
triadic
#45309D #9D4530 #309D45
tetradic
#45309D #9D3051 #889D30 #309D7C
square
#45309D #9D3051 #889D30 #309D7C
split-complementary
#45309D #9D7C30 #519D30
monochromatic
#1C133F #30226E #45309D #5D44C6 #8673D4

Accessibility & contrast

On white

9.71
#45309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#45309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45309D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45309D#FFFFFF#000000##FFFFFF
##45309D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#1D4C62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #45309d;
/* rgb */ color: rgb(69, 48, 157);
/* oklch */ color: oklch(40.4% 0.167 284.9);
Tailwind
colors: {
  custom: {
    50: '#826abb',
    500: '#45309d',
    950: '#000000',
  },
}
SCSS
$custom: #45309d;
$custom-light: #826abb;
$custom-dark: #000000;
JSON
{
  "hex": "#45309d",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 251.56,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40427,
    "c": 0.16724,
    "h": 284.9
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#45309D
secondary
#ADBC6D
accent
#DD4BC1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #45309D

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

Preview Lab → · Contrast checker → · Palette generator →

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