#45249F#45249F

#45249F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.183 H 286.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#45249F
RGBrgb(69, 36, 159)
HSLhsl(256, 63%, 38%)
HSVhsv(256, 77%, 62%)
CMYKcmyk(56.6%, 77.4%, 0%, 37.6%)
CIE-LABlab(26.82, 46.18, -60.89)
CIE-LCHlch(26.82, 76.42, 307.18°)
OKLaboklab(38.98% 0.0526 -0.1753)
OKLCHoklch(38.98% 0.183 286.7)
XYZxyz(9.3413, 5.0296, 33.2728)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45249F #7E9F24
analogous
#24409F #45249F #82249F
triadic
#45249F #9F4524 #249F45
tetradic
#45249F #9F2440 #7E9F24 #249F82
square
#45249F #9F2440 #7E9F24 #249F82
split-complementary
#45249F #9F8224 #409F24
monochromatic
#1A0D3B #2F196D #45249F #5B30D0 #8362DB

Accessibility & contrast

On white

10.47
#45249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#45249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45249F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45249F#FFFFFF#000000##FFFFFF
##45249F1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#1C4760
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45249f;
/* rgb */ color: rgb(69, 36, 159);
/* oklch */ color: oklch(39.0% 0.183 286.7);
Tailwind
colors: {
  custom: {
    50: '#8363bc',
    500: '#45249f',
    950: '#000000',
  },
}
SCSS
$custom: #45249f;
$custom-light: #8363bc;
$custom-dark: #000000;
JSON
{
  "hex": "#45249f",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 256.098,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.18297,
    "h": 286.7
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#45249F
secondary
#A6C15E
accent
#E642BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #45249F

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

Preview Lab → · Contrast checker → · Palette generator →

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