#4725B5#4725B5

#4725B5 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.207 H 283.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4725B5
RGBrgb(71, 37, 181)
HSLhsl(254, 66%, 43%)
HSVhsv(254, 80%, 71%)
CMYKcmyk(60.8%, 79.6%, 0%, 29%)
CIE-LABlab(29.41, 52.28, -69.86)
CIE-LCHlch(29.41, 87.25, 306.81°)
OKLaboklab(41.5% 0.0484 -0.2014)
OKLCHoklch(41.5% 0.207 283.5)
XYZxyz(11.5980, 5.9981, 44.2537)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725B5 #93B525
analogous
#254BB5 #4725B5 #8F25B5
triadic
#4725B5 #B54725 #25B547
tetradic
#4725B5 #B5254B #93B525 #25B58F
square
#4725B5 #B5254B #93B525 #25B58F
split-complementary
#4725B5 #B58F25 #4BB525
monochromatic
#1F104F #331B82 #4725B5 #633FD8 #8D72E2

Accessibility & contrast

On white

9.55
#4725B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4725B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725B5
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725B5#FFFFFF#000000##FFFFFF
##4725B51.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4725b5;
/* rgb */ color: rgb(71, 37, 181);
/* oklch */ color: oklch(41.5% 0.207 283.5);
Tailwind
colors: {
  custom: {
    50: '#8865cc',
    500: '#4725b5',
    950: '#000000',
  },
}
SCSS
$custom: #4725b5;
$custom-light: #8865cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4725b5",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 254.167,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41503,
    "c": 0.20715,
    "h": 283.5
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#4725B5
secondary
#B3C96D
accent
#E93FC1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4725B5

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

Preview Lab → · Contrast checker → · Palette generator →

#4725B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva