#45299A#45299A

#45299A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.172 H 286.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#45299A
RGBrgb(69, 41, 154)
HSLhsl(255, 58%, 38%)
HSVhsv(255, 73%, 60%)
CMYKcmyk(55.2%, 73.4%, 0%, 39.6%)
CIE-LABlab(27.25, 42.12, -57.12)
CIE-LCHlch(27.25, 70.98, 306.41°)
OKLaboklab(39.14% 0.0499 -0.1643)
OKLCHoklch(39.14% 0.172 286.9)
XYZxyz(9.0782, 5.1837, 31.0878)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45299A #7E9A29
analogous
#29459A #45299A #7D299A
triadic
#45299A #9A4529 #299A45
tetradic
#45299A #9A2945 #7E9A29 #299A7D
square
#45299A #9A2945 #7E9A29 #299A7D
split-complementary
#45299A #9A7D29 #459A29
monochromatic
#1A0F39 #2F1C6A #45299A #5B37CA #8367D7

Accessibility & contrast

On white

10.31
#45299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#45299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45299A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45299A#FFFFFF#000000##FFFFFF
##45299A1.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)
#00439D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#21475F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45299a;
/* rgb */ color: rgb(69, 41, 154);
/* oklch */ color: oklch(39.1% 0.172 286.9);
Tailwind
colors: {
  custom: {
    50: '#8266b9',
    500: '#45299a',
    950: '#000000',
  },
}
SCSS
$custom: #45299a;
$custom-light: #8266b9;
$custom-dark: #000000;
JSON
{
  "hex": "#45299a",
  "rgb": {
    "r": 69,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 254.867,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39143,
    "c": 0.17169,
    "h": 286.9
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#45299A
secondary
#A6BD62
accent
#E147BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #45299A

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

Preview Lab → · Contrast checker → · Palette generator →

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