#45269D#45269D

#45269D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.179 H 286.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#45269D
RGBrgb(69, 38, 157)
HSLhsl(256, 61%, 38%)
HSVhsv(256, 76%, 62%)
CMYKcmyk(56.1%, 75.8%, 0%, 38.4%)
CIE-LABlab(26.98, 44.59, -59.41)
CIE-LCHlch(26.98, 74.28, 306.89°)
OKLaboklab(39.03% 0.0516 -0.171)
OKLCHoklch(39.03% 0.179 286.8)
XYZxyz(9.2313, 5.0853, 32.3869)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45269D #7E9D26
analogous
#26429D #45269D #80269D
triadic
#45269D #9D4526 #269D45
tetradic
#45269D #9D2642 #7E9D26 #269D80
square
#45269D #9D2642 #7E9D26 #269D80
split-complementary
#45269D #9D8026 #429D26
monochromatic
#1A0E3A #2F1A6C #45269D #5B33CE #8364D9

Accessibility & contrast

On white

10.41
#45269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#45269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45269D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45269D#FFFFFF#000000##FFFFFF
##45269D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#1E4760
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45269d;
/* rgb */ color: rgb(69, 38, 157);
/* oklch */ color: oklch(39.0% 0.179 286.8);
Tailwind
colors: {
  custom: {
    50: '#8364bb',
    500: '#45269d',
    950: '#000000',
  },
}
SCSS
$custom: #45269d;
$custom-light: #8364bb;
$custom-dark: #000000;
JSON
{
  "hex": "#45269d",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 255.63,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39035,
    "c": 0.17857,
    "h": 286.8
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#45269D
secondary
#A6BF60
accent
#E444BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #45269D

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

Preview Lab → · Contrast checker → · Palette generator →

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