#45307F#45307F

#45307F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 37.9% C 0.128 H 291.3°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#45307F
RGBrgb(69, 48, 127)
HSLhsl(256, 45%, 34%)
HSVhsv(256, 62%, 50%)
CMYKcmyk(45.7%, 62.2%, 0%, 50.2%)
CIE-LABlab(26.48, 29.83, -41.64)
CIE-LCHlch(26.48, 51.22, 305.61°)
OKLaboklab(37.88% 0.0464 -0.1188)
OKLCHoklch(37.88% 0.128 291.3)
XYZxyz(7.3409, 4.9112, 20.6357)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45307F #6A7F30
analogous
#30437F #45307F #6D307F
triadic
#45307F #7F4530 #307F45
tetradic
#45307F #7F3043 #6A7F30 #307F6D
square
#45307F #7F3043 #6A7F30 #307F6D
split-complementary
#45307F #7F6D30 #437F30
monochromatic
#150E26 #2D1F53 #45307F #5D41AB #7E65C5

Accessibility & contrast

On white

10.59
#45307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45307F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45307F#FFFFFF#000000##FFFFFF
##45307F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#344252
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45307f;
/* rgb */ color: rgb(69, 48, 127);
/* oklch */ color: oklch(37.9% 0.128 291.3);
Tailwind
colors: {
  custom: {
    50: '#7d69a5',
    500: '#45307f',
    950: '#000000',
  },
}
SCSS
$custom: #45307f;
$custom-light: #7d69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#45307f",
  "rgb": {
    "r": 69,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 255.949,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37881,
    "c": 0.12756,
    "h": 291.3
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45307F

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

Preview Lab → · Contrast checker → · Palette generator →

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