#45277F#45277F

#45277F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.140 H 293.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#45277F
RGBrgb(69, 39, 127)
HSLhsl(260, 53%, 33%)
HSVhsv(260, 69%, 50%)
CMYKcmyk(45.7%, 69.3%, 0%, 50.2%)
CIE-LABlab(24.48, 35.21, -44.89)
CIE-LCHlch(24.48, 57.05, 308.11°)
OKLaboklab(36.43% 0.057 -0.1284)
OKLCHoklch(36.43% 0.14 293.9)
XYZxyz(7.0095, 4.2484, 20.5253)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45277F #617F27
analogous
#27357F #45277F #71277F
triadic
#45277F #7F4527 #277F45
tetradic
#45277F #7F2735 #617F27 #277F71
square
#45277F #7F2735 #617F27 #277F71
split-complementary
#45277F #7F7127 #357F27
monochromatic
#120A21 #2C1950 #45277F #5E35AE #7E55CB

Accessibility & contrast

On white

11.35
#45277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#45277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45277F
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45277F#FFFFFF#000000##FFFFFF
##45277F1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#353C4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #45277f;
/* rgb */ color: rgb(69, 39, 127);
/* oklch */ color: oklch(36.4% 0.140 293.9);
Tailwind
colors: {
  custom: {
    50: '#7e63a5',
    500: '#45277f',
    950: '#000000',
  },
}
SCSS
$custom: #45277f;
$custom-light: #7e63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#45277f",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 260.455,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36428,
    "c": 0.14044,
    "h": 293.9
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#45277F
secondary
#90B052
accent
#DC4BAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A050F
muted
#7C7A7F

Preview Lab

Preview with #45277F

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

Preview Lab → · Contrast checker → · Palette generator →

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