#45279A#45279A

#45279A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.174 H 287.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#45279A
RGBrgb(69, 39, 154)
HSLhsl(256, 60%, 38%)
HSVhsv(256, 75%, 60%)
CMYKcmyk(55.2%, 74.7%, 0%, 39.6%)
CIE-LABlab(26.87, 43.19, -57.74)
CIE-LCHlch(26.87, 72.11, 306.79°)
OKLaboklab(38.88% 0.0516 -0.1661)
OKLCHoklch(38.88% 0.174 287.2)
XYZxyz(9.0108, 5.0489, 31.0653)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45279A #7C9A27
analogous
#27439A #45279A #7E279A
triadic
#45279A #9A4527 #279A45
tetradic
#45279A #9A2743 #7C9A27 #279A7E
square
#45279A #9A2743 #7C9A27 #279A7E
split-complementary
#45279A #9A7E27 #439A27
monochromatic
#190E38 #2F1B69 #45279A #5B33CB #8264D8

Accessibility & contrast

On white

10.45
#45279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#45279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45279A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45279A#FFFFFF#000000##FFFFFF
##45279A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#21465E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45279a;
/* rgb */ color: rgb(69, 39, 154);
/* oklch */ color: oklch(38.9% 0.174 287.2);
Tailwind
colors: {
  custom: {
    50: '#8264b9',
    500: '#45279a',
    950: '#000000',
  },
}
SCSS
$custom: #45279a;
$custom-light: #8264b9;
$custom-dark: #000000;
JSON
{
  "hex": "#45279a",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 255.652,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.17391,
    "h": 287.2
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#45279A
secondary
#A5BD5F
accent
#E345BA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #45279A

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

Preview Lab → · Contrast checker → · Palette generator →

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