#45269B#45269B

#45269B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.176 H 287.2°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#45269B
RGBrgb(69, 38, 155)
HSLhsl(256, 61%, 38%)
HSVhsv(256, 75%, 61%)
CMYKcmyk(55.5%, 75.5%, 0%, 39.2%)
CIE-LABlab(26.78, 44.00, -58.50)
CIE-LCHlch(26.78, 73.20, 306.95°)
OKLaboklab(38.84% 0.0521 -0.1683)
OKLCHoklch(38.84% 0.176 287.2)
XYZxyz(9.0620, 5.0175, 31.4950)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45269B #7C9B26
analogous
#26429B #45269B #7F269B
triadic
#45269B #9B4526 #269B45
tetradic
#45269B #9B2642 #7C9B26 #269B7F
square
#45269B #9B2642 #7C9B26 #269B7F
split-complementary
#45269B #9B7F26 #429B26
monochromatic
#190E39 #2F1A6A #45269B #5B32CC #8263D9

Accessibility & contrast

On white

10.48
#45269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45269B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45269B#FFFFFF#000000##FFFFFF
##45269B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#20465F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #45269b;
/* rgb */ color: rgb(69, 38, 155);
/* oklch */ color: oklch(38.8% 0.176 287.2);
Tailwind
colors: {
  custom: {
    50: '#8264ba',
    500: '#45269b',
    950: '#000000',
  },
}
SCSS
$custom: #45269b;
$custom-light: #8264ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45269b",
  "rgb": {
    "r": 69,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 255.897,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38842,
    "c": 0.17618,
    "h": 287.2
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #45269B

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

Preview Lab → · Contrast checker → · Palette generator →

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