#4725B9#4725B9

#4725B9 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 41.9% C 0.212 H 282.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4725B9
RGBrgb(71, 37, 185)
HSLhsl(254, 67%, 44%)
HSVhsv(254, 80%, 73%)
CMYKcmyk(61.6%, 80%, 0%, 27.5%)
CIE-LABlab(29.82, 53.41, -71.55)
CIE-LCHlch(29.82, 89.29, 306.74°)
OKLaboklab(41.92% 0.0472 -0.2063)
OKLCHoklch(41.92% 0.212 282.9)
XYZxyz(12.0143, 6.1647, 46.4463)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725B9 #97B925
analogous
#254DB9 #4725B9 #9125B9
triadic
#4725B9 #B94725 #25B947
tetradic
#4725B9 #B9254D #97B925 #25B991
square
#4725B9 #B9254D #97B925 #25B991
split-complementary
#4725B9 #B99125 #4DB925
monochromatic
#201153 #331B86 #4725B9 #6542D9 #8E75E3

Accessibility & contrast

On white

9.40
#4725B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4725B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725B9
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725B9#FFFFFF#000000##FFFFFF
##4725B91.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4725b9;
/* rgb */ color: rgb(71, 37, 185);
/* oklch */ color: oklch(41.9% 0.212 282.9);
Tailwind
colors: {
  custom: {
    50: '#8965cf',
    500: '#4725b9',
    950: '#000000',
  },
}
SCSS
$custom: #4725b9;
$custom-light: #8965cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4725b9",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 253.784,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41916,
    "c": 0.21167,
    "h": 282.9
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#4725B9
secondary
#B6CB6F
accent
#EA3EC2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4725B9

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

Preview Lab → · Contrast checker → · Palette generator →

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