#45247B#45247B

#45247B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.139 H 295.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#45247B
RGBrgb(69, 36, 123)
HSLhsl(263, 55%, 31%)
HSVhsv(263, 71%, 48%)
CMYKcmyk(43.9%, 70.7%, 0%, 51.8%)
CIE-LABlab(23.53, 35.75, -43.90)
CIE-LCHlch(23.53, 56.61, 309.15°)
OKLaboklab(35.64% 0.0609 -0.1254)
OKLCHoklch(35.64% 0.139 295.9)
XYZxyz(6.6593, 3.9569, 19.1479)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45247B #5A7B24
analogous
#242E7B #45247B #70247B
triadic
#45247B #7B4524 #247B45
tetradic
#45247B #7B242E #5A7B24 #247B70
square
#45247B #7B242E #5A7B24 #247B70
split-complementary
#45247B #7B7024 #2E7B24
monochromatic
#10081C #2A164C #45247B #6032AA #7E4ECB

Accessibility & contrast

On white

11.72
#45247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#45247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45247B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45247B#FFFFFF#000000##FFFFFF
##45247B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#37394C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #45247b;
/* rgb */ color: rgb(69, 36, 123);
/* oklch */ color: oklch(35.6% 0.139 295.9);
Tailwind
colors: {
  custom: {
    50: '#7e61a2',
    500: '#45247b',
    950: '#000000',
  },
}
SCSS
$custom: #45247b;
$custom-light: #7e61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#45247b",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 262.759,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.13945,
    "h": 295.9
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#45247B
secondary
#89AD4D
accent
#DE4AA6
background
#F8F5FA
surface
#EFEAF3
border
#CAC6CD
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45247B

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

Preview Lab → · Contrast checker → · Palette generator →

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