#45289C#45289C

#45289C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.175 H 286.7°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#45289C
RGBrgb(69, 40, 156)
HSLhsl(255, 59%, 38%)
HSVhsv(255, 74%, 61%)
CMYKcmyk(55.8%, 74.4%, 0%, 38.8%)
CIE-LABlab(27.25, 43.26, -58.35)
CIE-LCHlch(27.25, 72.64, 306.55°)
OKLaboklab(39.2% 0.0502 -0.1679)
OKLCHoklch(39.2% 0.175 286.7)
XYZxyz(9.2120, 5.1826, 31.9610)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45289C #7F9C28
analogous
#28459C #45289C #7F289C
triadic
#45289C #9C4528 #289C45
tetradic
#45289C #9C2845 #7F9C28 #289C7F
square
#45289C #9C2845 #7F9C28 #289C7F
split-complementary
#45289C #9C7F28 #459C28
monochromatic
#1A0F3B #2F1C6B #45289C #5B36CB #8367D8

Accessibility & contrast

On white

10.31
#45289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#45289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45289C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45289C#FFFFFF#000000##FFFFFF
##45289C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45289c;
/* rgb */ color: rgb(69, 40, 156);
/* oklch */ color: oklch(39.2% 0.175 286.7);
Tailwind
colors: {
  custom: {
    50: '#8265ba',
    500: '#45289c',
    950: '#000000',
  },
}
SCSS
$custom: #45289c;
$custom-light: #8265ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45289c",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 255,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.17524,
    "h": 286.7
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#45289C
secondary
#A7BE62
accent
#E245BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #45289C

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

Preview Lab → · Contrast checker → · Palette generator →

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