#45289B#45289B

#45289B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.174 H 286.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#45289B
RGBrgb(69, 40, 155)
HSLhsl(255, 59%, 38%)
HSVhsv(255, 74%, 61%)
CMYKcmyk(55.5%, 74.2%, 0%, 39.2%)
CIE-LABlab(27.15, 42.96, -57.89)
CIE-LCHlch(27.15, 72.09, 306.58°)
OKLaboklab(39.1% 0.0505 -0.1665)
OKLCHoklch(39.1% 0.174 286.9)
XYZxyz(9.1277, 5.1489, 31.5169)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45289B #7E9B28
analogous
#28459B #45289B #7E289B
triadic
#45289B #9B4528 #289B45
tetradic
#45289B #9B2845 #7E9B28 #289B7E
square
#45289B #9B2845 #7E9B28 #289B7E
split-complementary
#45289B #9B7E28 #459B28
monochromatic
#1A0F3A #2F1B6A #45289B #5B35CB #8366D7

Accessibility & contrast

On white

10.35
#45289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#45289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45289B
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45289B#FFFFFF#000000##FFFFFF
##45289B1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#20475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45289b;
/* rgb */ color: rgb(69, 40, 155);
/* oklch */ color: oklch(39.1% 0.174 286.9);
Tailwind
colors: {
  custom: {
    50: '#8265ba',
    500: '#45289b',
    950: '#000000',
  },
}
SCSS
$custom: #45289b;
$custom-light: #8265ba;
$custom-dark: #000000;
JSON
{
  "hex": "#45289b",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 255.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39103,
    "c": 0.17402,
    "h": 286.9
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#45289B
secondary
#A6BD61
accent
#E246BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #45289B

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

Preview Lab → · Contrast checker → · Palette generator →

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