#4725A6#4725A6

#4725A6 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.190 H 286.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#4725A6
RGBrgb(71, 37, 166)
HSLhsl(256, 64%, 40%)
HSVhsv(256, 78%, 65%)
CMYKcmyk(57.2%, 77.7%, 0%, 34.9%)
CIE-LABlab(27.89, 47.98, -63.37)
CIE-LCHlch(27.89, 79.48, 307.13°)
OKLaboklab(39.99% 0.0529 -0.1825)
OKLCHoklch(39.99% 0.19 286.2)
XYZxyz(10.1410, 5.4153, 36.5799)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725A6 #84A625
analogous
#2543A6 #4725A6 #8825A6
triadic
#4725A6 #A64725 #25A647
tetradic
#4725A6 #A62543 #84A625 #25A688
square
#4725A6 #A62543 #84A625 #25A688
split-complementary
#4725A6 #A68825 #43A625
monochromatic
#1C0F42 #321A74 #4725A6 #5F36D2 #8768DD

Accessibility & contrast

On white

10.08
#4725A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4725A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725A6
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725A6#FFFFFF#000000##FFFFFF
##4725A61.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#194A65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4725a6;
/* rgb */ color: rgb(71, 37, 166);
/* oklch */ color: oklch(40.0% 0.190 286.2);
Tailwind
colors: {
  custom: {
    50: '#8564c2',
    500: '#4725a6',
    950: '#000000',
  },
}
SCSS
$custom: #4725a6;
$custom-light: #8564c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4725a6",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 255.814,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.18999,
    "h": 286.2
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#4725A6
secondary
#AAC364
accent
#E741BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4725A6

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

Preview Lab → · Contrast checker → · Palette generator →

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