#45277A#45277A

#45277A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.134 H 295.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#45277A
RGBrgb(69, 39, 122)
HSLhsl(262, 52%, 32%)
HSVhsv(262, 68%, 48%)
CMYKcmyk(43.4%, 68%, 0%, 52.2%)
CIE-LABlab(24.07, 33.75, -42.39)
CIE-LCHlch(24.07, 54.18, 308.53°)
OKLaboklab(36.01% 0.0577 -0.121)
OKLCHoklch(36.01% 0.134 295.5)
XYZxyz(6.6917, 4.1212, 18.8515)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45277A #5C7A27
analogous
#27337A #45277A #6F277A
triadic
#45277A #7A4527 #277A45
tetradic
#45277A #7A2733 #5C7A27 #277A6F
square
#45277A #7A2733 #5C7A27 #277A6F
split-complementary
#45277A #7A6F27 #337A27
monochromatic
#11091D #2B184C #45277A #5F36A8 #7E53C8

Accessibility & contrast

On white

11.51
#45277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#45277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45277A
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45277A#FFFFFF#000000##FFFFFF
##45277A1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#373A4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #45277a;
/* rgb */ color: rgb(69, 39, 122);
/* oklch */ color: oklch(36.0% 0.134 295.5);
Tailwind
colors: {
  custom: {
    50: '#7d63a1',
    500: '#45277a',
    950: '#000000',
  },
}
SCSS
$custom: #45277a;
$custom-light: #7d63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#45277a",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 261.687,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36007,
    "c": 0.13404,
    "h": 295.5
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#45277A
secondary
#8BAC51
accent
#DB4DA8
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #45277A

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

Preview Lab → · Contrast checker → · Palette generator →

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