#45269C#45269C

#45269C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.177 H 287.0°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#45269C
RGBrgb(69, 38, 156)
HSLhsl(256, 61%, 38%)
HSVhsv(256, 76%, 61%)
CMYKcmyk(55.8%, 75.6%, 0%, 38.8%)
CIE-LABlab(26.88, 44.30, -58.96)
CIE-LCHlch(26.88, 73.74, 306.92°)
OKLaboklab(38.94% 0.0519 -0.1696)
OKLCHoklch(38.94% 0.177 287)
XYZxyz(9.1463, 5.0512, 31.9391)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45269C #7D9C26
analogous
#26429C #45269C #80269C
triadic
#45269C #9C4526 #269C45
tetradic
#45269C #9C2642 #7D9C26 #269C80
square
#45269C #9C2642 #7D9C26 #269C80
split-complementary
#45269C #9C8026 #429C26
monochromatic
#190E3A #2F1A6B #45269C #5B32CD #8263D9

Accessibility & contrast

On white

10.45
#45269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#45269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45269C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45269C#FFFFFF#000000##FFFFFF
##45269C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#1F475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45269c;
/* rgb */ color: rgb(69, 38, 156);
/* oklch */ color: oklch(38.9% 0.177 287.0);
Tailwind
colors: {
  custom: {
    50: '#8364ba',
    500: '#45269c',
    950: '#000000',
  },
}
SCSS
$custom: #45269c;
$custom-light: #8364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45269c",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 255.763,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.17738,
    "h": 287
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45269C

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

Preview Lab → · Contrast checker → · Palette generator →

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