#45277D#45277D

#45277D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.138 H 294.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#45277D
RGBrgb(69, 39, 125)
HSLhsl(261, 52%, 32%)
HSVhsv(261, 69%, 49%)
CMYKcmyk(44.8%, 68.8%, 0%, 51%)
CIE-LABlab(24.31, 34.63, -43.89)
CIE-LCHlch(24.31, 55.91, 308.27°)
OKLaboklab(36.26% 0.0573 -0.1254)
OKLCHoklch(36.26% 0.138 294.5)
XYZxyz(6.8804, 4.1967, 19.8456)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45277D #5F7D27
analogous
#27347D #45277D #70277D
triadic
#45277D #7D4527 #277D45
tetradic
#45277D #7D2734 #5F7D27 #277D70
square
#45277D #7D2734 #5F7D27 #277D70
split-complementary
#45277D #7D7027 #347D27
monochromatic
#120A20 #2B184E #45277D #5F36AC #7D55CA

Accessibility & contrast

On white

11.42
#45277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#45277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45277D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45277D#FFFFFF#000000##FFFFFF
##45277D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#363C4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #45277d;
/* rgb */ color: rgb(69, 39, 125);
/* oklch */ color: oklch(36.3% 0.138 294.5);
Tailwind
colors: {
  custom: {
    50: '#7e63a3',
    500: '#45277d',
    950: '#000000',
  },
}
SCSS
$custom: #45277d;
$custom-light: #7e63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#45277d",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 260.93,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36258,
    "c": 0.13789,
    "h": 294.5
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#45277D
secondary
#8EAF51
accent
#DC4CAA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #45277D

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

Preview Lab → · Contrast checker → · Palette generator →

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