#4725CA#4725CA

#4725CA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.231 H 280.5°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#4725CA
RGBrgb(71, 37, 202)
HSLhsl(252, 69%, 47%)
HSVhsv(252, 82%, 79%)
CMYKcmyk(64.9%, 81.7%, 0%, 20.8%)
CIE-LABlab(31.64, 58.20, -78.55)
CIE-LCHlch(31.64, 97.77, 306.54°)
OKLaboklab(43.7% 0.0419 -0.2267)
OKLCHoklch(43.7% 0.231 280.5)
XYZxyz(13.9174, 6.9259, 56.4691)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725CA #A8CA25
analogous
#2555CA #4725CA #9A25CA
triadic
#4725CA #CA4725 #25CA47
tetradic
#4725CA #CA2555 #A8CA25 #25CA9A
square
#4725CA #CA2555 #A8CA25 #25CA9A
split-complementary
#4725CA #CA9A25 #55CA25
monochromatic
#231263 #351C96 #4725CA #6C4EDF #9781E8

Accessibility & contrast

On white

8.80
#4725CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4725CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725CA
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725CA#FFFFFF#000000##FFFFFF
##4725CA1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#005979
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4725ca;
/* rgb */ color: rgb(71, 37, 202);
/* oklch */ color: oklch(43.7% 0.231 280.5);
Tailwind
colors: {
  custom: {
    50: '#8c66dc',
    500: '#4725ca',
    950: '#000000',
  },
}
SCSS
$custom: #4725ca;
$custom-light: #8c66dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4725ca",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 202
  },
  "hsl": {
    "h": 252.364,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.23057,
    "h": 280.5
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#4725CA
secondary
#BFD17A
accent
#EC3CC8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4725CA

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

Preview Lab → · Contrast checker → · Palette generator →

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