#4725B3#4725B3

#4725B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.3% C 0.205 H 283.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4725B3
RGBrgb(71, 37, 179)
HSLhsl(254, 66%, 42%)
HSVhsv(254, 79%, 70%)
CMYKcmyk(60.3%, 79.3%, 0%, 29.8%)
CIE-LABlab(29.20, 51.71, -69.01)
CIE-LCHlch(29.20, 86.23, 306.84°)
OKLaboklab(41.3% 0.049 -0.1989)
OKLCHoklch(41.3% 0.205 283.8)
XYZxyz(11.3943, 5.9166, 43.1807)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725B3 #91B325
analogous
#254AB3 #4725B3 #8E25B3
triadic
#4725B3 #B34725 #25B347
tetradic
#4725B3 #B3254A #91B325 #25B38E
square
#4725B3 #B3254A #91B325 #25B38E
split-complementary
#4725B3 #B38E25 #4AB325
monochromatic
#1F104E #331B80 #4725B3 #633ED7 #8C71E2

Accessibility & contrast

On white

9.62
#4725B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4725B3
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725B3#FFFFFF#000000##FFFFFF
##4725B31.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4725b3;
/* rgb */ color: rgb(71, 37, 179);
/* oklch */ color: oklch(41.3% 0.205 283.8);
Tailwind
colors: {
  custom: {
    50: '#8865cb',
    500: '#4725b3',
    950: '#000000',
  },
}
SCSS
$custom: #4725b3;
$custom-light: #8865cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4725b3",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 254.366,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.20489,
    "h": 283.8
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4725B3

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

Preview Lab → · Contrast checker → · Palette generator →

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