#45279C#45279C

#45279C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.176 H 286.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#45279C
RGBrgb(69, 39, 156)
HSLhsl(255, 60%, 38%)
HSVhsv(255, 75%, 61%)
CMYKcmyk(55.8%, 75%, 0%, 38.8%)
CIE-LABlab(27.06, 43.78, -58.66)
CIE-LCHlch(27.06, 73.19, 306.74°)
OKLaboklab(39.07% 0.0511 -0.1688)
OKLCHoklch(39.07% 0.176 286.8)
XYZxyz(9.1787, 5.1161, 31.9499)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45279C #7E9C27
analogous
#27439C #45279C #7F279C
triadic
#45279C #9C4527 #279C45
tetradic
#45279C #9C2743 #7E9C27 #279C7F
square
#45279C #9C2743 #7E9C27 #279C7F
split-complementary
#45279C #9C7F27 #439C27
monochromatic
#1A0F3A #2F1B6B #45279C #5B34CC #8365D8

Accessibility & contrast

On white

10.38
#45279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#45279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45279C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45279C#FFFFFF#000000##FFFFFF
##45279C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#1F475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45279c;
/* rgb */ color: rgb(69, 39, 156);
/* oklch */ color: oklch(39.1% 0.176 286.8);
Tailwind
colors: {
  custom: {
    50: '#8364ba',
    500: '#45279c',
    950: '#000000',
  },
}
SCSS
$custom: #45279c;
$custom-light: #8364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45279c",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 255.385,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39067,
    "c": 0.17631,
    "h": 286.8
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#45279C
secondary
#A6BE61
accent
#E345BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #45279C

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

Preview Lab → · Contrast checker → · Palette generator →

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