#4725C6#4725C6

#4725C6 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.3% C 0.226 H 281.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4725C6
RGBrgb(71, 37, 198)
HSLhsl(253, 69%, 46%)
HSVhsv(253, 81%, 78%)
CMYKcmyk(64.1%, 81.3%, 0%, 22.4%)
CIE-LABlab(31.20, 57.08, -76.93)
CIE-LCHlch(31.20, 95.79, 306.58°)
OKLaboklab(43.28% 0.0431 -0.222)
OKLCHoklch(43.28% 0.226 281)
XYZxyz(13.4499, 6.7389, 54.0071)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725C6 #A4C625
analogous
#2553C6 #4725C6 #9725C6
triadic
#4725C6 #C64725 #25C647
tetradic
#4725C6 #C62553 #A4C625 #25C697
square
#4725C6 #C62553 #A4C625 #25C697
split-complementary
#4725C6 #C69725 #53C625
monochromatic
#22125F #351B92 #4725C6 #6A4BDD #957EE7

Accessibility & contrast

On white

8.94
#4725C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4725C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725C6
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725C6#FFFFFF#000000##FFFFFF
##4725C61.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCA
Deuteranopia (green-blind)
#0043C3
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4725c6;
/* rgb */ color: rgb(71, 37, 198);
/* oklch */ color: oklch(43.3% 0.226 281.0);
Tailwind
colors: {
  custom: {
    50: '#8b66d9',
    500: '#4725c6',
    950: '#000000',
  },
}
SCSS
$custom: #4725c6;
$custom-light: #8b66d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4725c6",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 252.671,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.22616,
    "h": 281
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#4725C6
secondary
#BDCF77
accent
#EB3CC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4725C6

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

Preview Lab → · Contrast checker → · Palette generator →

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