#45269A#45269A

#45269A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.175 H 287.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#45269A
RGBrgb(69, 38, 154)
HSLhsl(256, 60%, 38%)
HSVhsv(256, 75%, 60%)
CMYKcmyk(55.2%, 75.3%, 0%, 39.6%)
CIE-LABlab(26.69, 43.71, -58.05)
CIE-LCHlch(26.69, 72.66, 306.98°)
OKLaboklab(38.75% 0.0524 -0.167)
OKLCHoklch(38.75% 0.175 287.4)
XYZxyz(8.9784, 4.9841, 31.0545)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45269A #7B9A26
analogous
#26419A #45269A #7F269A
triadic
#45269A #9A4526 #269A45
tetradic
#45269A #9A2641 #7B9A26 #269A7F
square
#45269A #9A2641 #7B9A26 #269A7F
split-complementary
#45269A #9A7F26 #419A26
monochromatic
#190E38 #2F1A69 #45269A #5B32CB #8262D8

Accessibility & contrast

On white

10.52
#45269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#45269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45269A
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45269A#FFFFFF#000000##FFFFFF
##45269A1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#21465E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45269a;
/* rgb */ color: rgb(69, 38, 154);
/* oklch */ color: oklch(38.7% 0.175 287.4);
Tailwind
colors: {
  custom: {
    50: '#8264b9',
    500: '#45269a',
    950: '#000000',
  },
}
SCSS
$custom: #45269a;
$custom-light: #8264b9;
$custom-dark: #000000;
JSON
{
  "hex": "#45269a",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 256.034,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.17499,
    "h": 287.4
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#45269A
secondary
#A4BE5E
accent
#E444B9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #45269A

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

Preview Lab → · Contrast checker → · Palette generator →

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