#45277B#45277B

#45277B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.135 H 295.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#45277B
RGBrgb(69, 39, 123)
HSLhsl(261, 52%, 32%)
HSVhsv(261, 68%, 48%)
CMYKcmyk(43.9%, 68.3%, 0%, 51.8%)
CIE-LABlab(24.15, 34.04, -42.89)
CIE-LCHlch(24.15, 54.76, 308.44°)
OKLaboklab(36.09% 0.0575 -0.1225)
OKLCHoklch(36.09% 0.135 295.2)
XYZxyz(6.7540, 4.1461, 19.1795)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45277B #5D7B27
analogous
#27337B #45277B #6F277B
triadic
#45277B #7B4527 #277B45
tetradic
#45277B #7B2733 #5D7B27 #277B6F
square
#45277B #7B2733 #5D7B27 #277B6F
split-complementary
#45277B #7B6F27 #337B27
monochromatic
#110A1E #2B184D #45277B #5F36A9 #7D54C9

Accessibility & contrast

On white

11.48
#45277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#45277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45277B
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45277B#FFFFFF#000000##FFFFFF
##45277B1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#373B4D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #45277b;
/* rgb */ color: rgb(69, 39, 123);
/* oklch */ color: oklch(36.1% 0.135 295.2);
Tailwind
colors: {
  custom: {
    50: '#7e63a2',
    500: '#45277b',
    950: '#000000',
  },
}
SCSS
$custom: #45277b;
$custom-light: #7e63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#45277b",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 261.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3609,
    "c": 0.13533,
    "h": 295.2
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#45277B
secondary
#8CAD51
accent
#DB4CA8
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #45277B

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

Preview Lab → · Contrast checker → · Palette generator →

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