#45269F#45269F

#45269F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.181 H 286.4°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#45269F
RGBrgb(69, 38, 159)
HSLhsl(255, 61%, 39%)
HSVhsv(255, 76%, 62%)
CMYKcmyk(56.6%, 76.1%, 0%, 37.6%)
CIE-LABlab(27.17, 45.18, -60.31)
CIE-LCHlch(27.17, 75.35, 306.84°)
OKLaboklab(39.23% 0.0511 -0.1736)
OKLCHoklch(39.23% 0.181 286.4)
XYZxyz(9.4035, 5.1541, 33.2935)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45269F #809F26
analogous
#26439F #45269F #81269F
triadic
#45269F #9F4526 #269F45
tetradic
#45269F #9F2643 #809F26 #269F81
square
#45269F #9F2643 #809F26 #269F81
split-complementary
#45269F #9F8126 #439F26
monochromatic
#1A0E3C #301A6E #45269F #5B34CE #8365DA

Accessibility & contrast

On white

10.34
#45269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#45269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45269F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45269F#FFFFFF#000000##FFFFFF
##45269F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#1B4861
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45269f;
/* rgb */ color: rgb(69, 38, 159);
/* oklch */ color: oklch(39.2% 0.181 286.4);
Tailwind
colors: {
  custom: {
    50: '#8364bc',
    500: '#45269f',
    950: '#000000',
  },
}
SCSS
$custom: #45269f;
$custom-light: #8364bc;
$custom-dark: #000000;
JSON
{
  "hex": "#45269f",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 255.372,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.18095,
    "h": 286.4
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#45269F
secondary
#A8C061
accent
#E543BB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #45269F

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

Preview Lab → · Contrast checker → · Palette generator →

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