#45307C#45307C

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

Color values

HEX#45307C
RGBrgb(69, 48, 124)
HSLhsl(257, 44%, 34%)
HSVhsv(257, 61%, 49%)
CMYKcmyk(44.4%, 61.3%, 0%, 51.4%)
CIE-LABlab(26.26, 28.91, -40.11)
CIE-LCHlch(26.26, 49.44, 305.78°)
OKLaboklab(37.65% 0.0465 -0.1143)
OKLCHoklch(37.65% 0.123 292.2)
XYZxyz(7.1483, 4.8341, 19.6213)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45307C #677C30
analogous
#30417C #45307C #6B307C
triadic
#45307C #7C4530 #307C45
tetradic
#45307C #7C3041 #677C30 #307C6B
square
#45307C #7C3041 #677C30 #307C6B
split-complementary
#45307C #7C6B30 #417C30
monochromatic
#140E24 #2C1F50 #45307C #5E41A8 #7E64C3

Accessibility & contrast

On white

10.68
#45307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45307C
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45307C#FFFFFF#000000##FFFFFF
##45307C1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#043D7A
Tritanopia (blue-blind)
#364151
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #45307c;
/* rgb */ color: rgb(69, 48, 124);
/* oklch */ color: oklch(37.6% 0.123 292.2);
Tailwind
colors: {
  custom: {
    50: '#7d69a2',
    500: '#45307c',
    950: '#000000',
  },
}
SCSS
$custom: #45307c;
$custom-light: #7d69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#45307c",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 256.579,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37647,
    "c": 0.12343,
    "h": 292.2
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#45307C
secondary
#95AA5E
accent
#D454B1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #45307C

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

Preview Lab → · Contrast checker → · Palette generator →

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