#45269E#45269E

#45269E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.180 H 286.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#45269E
RGBrgb(69, 38, 158)
HSLhsl(256, 61%, 38%)
HSVhsv(256, 76%, 62%)
CMYKcmyk(56.3%, 75.9%, 0%, 38%)
CIE-LABlab(27.07, 44.88, -59.86)
CIE-LCHlch(27.07, 74.82, 306.86°)
OKLaboklab(39.13% 0.0513 -0.1723)
OKLCHoklch(39.13% 0.18 286.6)
XYZxyz(9.3171, 5.1195, 32.8383)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45269E #7F9E26
analogous
#26439E #45269E #81269E
triadic
#45269E #9E4526 #269E45
tetradic
#45269E #9E2643 #7F9E26 #269E81
square
#45269E #9E2643 #7F9E26 #269E81
split-complementary
#45269E #9E8126 #439E26
monochromatic
#1A0E3B #2F1A6D #45269E #5B33CE #8365DA

Accessibility & contrast

On white

10.38
#45269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45269E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45269E#FFFFFF#000000##FFFFFF
##45269E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#1D4760
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45269e;
/* rgb */ color: rgb(69, 38, 158);
/* oklch */ color: oklch(39.1% 0.180 286.6);
Tailwind
colors: {
  custom: {
    50: '#8364bc',
    500: '#45269e',
    950: '#000000',
  },
}
SCSS
$custom: #45269e;
$custom-light: #8364bc;
$custom-dark: #000000;
JSON
{
  "hex": "#45269e",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 255.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39132,
    "c": 0.17976,
    "h": 286.6
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#45269E
secondary
#A7C060
accent
#E443BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #45269E

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

Preview Lab → · Contrast checker → · Palette generator →

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