#45278C#45278C

#45278C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.157 H 290.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#45278C
RGBrgb(69, 39, 140)
HSLhsl(258, 56%, 35%)
HSVhsv(258, 72%, 55%)
CMYKcmyk(50.7%, 72.1%, 0%, 45.1%)
CIE-LABlab(25.59, 39.04, -51.21)
CIE-LCHlch(25.59, 64.40, 307.32°)
OKLaboklab(37.57% 0.0547 -0.1469)
OKLCHoklch(37.57% 0.157 290.4)
XYZxyz(7.9120, 4.6094, 25.2787)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45278C #6E8C27
analogous
#273B8C #45278C #78278C
triadic
#45278C #8C4527 #278C45
tetradic
#45278C #8C273B #6E8C27 #278C78
square
#45278C #8C273B #6E8C27 #278C78
split-complementary
#45278C #8C7827 #3B8C27
monochromatic
#160C2C #2D1A5C #45278C #5D34BC #7F5CD2

Accessibility & contrast

On white

10.93
#45278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#45278C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45278C
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45278C#FFFFFF#000000##FFFFFF
##45278C1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#2D4156
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #45278c;
/* rgb */ color: rgb(69, 39, 140);
/* oklch */ color: oklch(37.6% 0.157 290.4);
Tailwind
colors: {
  custom: {
    50: '#8064ae',
    500: '#45278c',
    950: '#000000',
  },
}
SCSS
$custom: #45278c;
$custom-light: #8064ae;
$custom-dark: #000000;
JSON
{
  "hex": "#45278c",
  "rgb": {
    "r": 69,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 257.822,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37573,
    "c": 0.15679,
    "h": 290.4
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#45278C
secondary
#9BB758
accent
#E048B3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #45278C

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

Preview Lab → · Contrast checker → · Palette generator →

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