#4725B2#4725B2

#4725B2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.204 H 284.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4725B2
RGBrgb(71, 37, 178)
HSLhsl(254, 66%, 42%)
HSVhsv(254, 79%, 70%)
CMYKcmyk(60.1%, 79.2%, 0%, 30.2%)
CIE-LABlab(29.10, 51.42, -68.58)
CIE-LCHlch(29.10, 85.72, 306.86°)
OKLaboklab(41.2% 0.0494 -0.1977)
OKLCHoklch(41.2% 0.204 284)
XYZxyz(11.2935, 5.8763, 42.6500)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725B2 #90B225
analogous
#254AB2 #4725B2 #8E25B2
triadic
#4725B2 #B24725 #25B247
tetradic
#4725B2 #B2254A #90B225 #25B28E
square
#4725B2 #B2254A #90B225 #25B28E
split-complementary
#4725B2 #B28E25 #4AB225
monochromatic
#1F104D #331A7F #4725B2 #623DD7 #8B70E1

Accessibility & contrast

On white

9.65
#4725B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4725B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725B2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725B2#FFFFFF#000000##FFFFFF
##4725B21.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4725b2;
/* rgb */ color: rgb(71, 37, 178);
/* oklch */ color: oklch(41.2% 0.204 284.0);
Tailwind
colors: {
  custom: {
    50: '#8865ca',
    500: '#4725b2',
    950: '#000000',
  },
}
SCSS
$custom: #4725b2;
$custom-light: #8865ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4725b2",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 254.468,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.20376,
    "h": 284
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#4725B2
secondary
#B2C86B
accent
#E93FC0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4725B2

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

Preview Lab → · Contrast checker → · Palette generator →

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