#45257D#45257D

#45257D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.141 H 295.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#45257D
RGBrgb(69, 37, 125)
HSLhsl(262, 54%, 32%)
HSVhsv(262, 70%, 49%)
CMYKcmyk(44.8%, 70.4%, 0%, 51%)
CIE-LABlab(23.90, 35.76, -44.57)
CIE-LCHlch(23.90, 57.14, 308.75°)
OKLaboklab(35.96% 0.0595 -0.1274)
OKLCHoklch(35.96% 0.141 295)
XYZxyz(6.8165, 4.0688, 19.8243)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45257D #5D7D25
analogous
#25317D #45257D #71257D
triadic
#45257D #7D4525 #257D45
tetradic
#45257D #7D2531 #5D7D25 #257D71
square
#45257D #7D2531 #5D7D25 #257D71
split-complementary
#45257D #7D7125 #317D25
monochromatic
#11091F #2B174E #45257D #5F33AC #7D51CB

Accessibility & contrast

On white

11.58
#45257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#45257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45257D
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45257D#FFFFFF#000000##FFFFFF
##45257D1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#363A4E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #45257d;
/* rgb */ color: rgb(69, 37, 125);
/* oklch */ color: oklch(36.0% 0.141 295.0);
Tailwind
colors: {
  custom: {
    50: '#7e62a3',
    500: '#45257d',
    950: '#000000',
  },
}
SCSS
$custom: #45257d;
$custom-light: #7e62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#45257d",
  "rgb": {
    "r": 69,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 261.818,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35961,
    "c": 0.14062,
    "h": 295
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#45257D
secondary
#8CAF4F
accent
#DE4AA8
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #45257D

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

Preview Lab → · Contrast checker → · Palette generator →

#45257D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva