#4725AF#4725AF

#4725AF is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 40.9% C 0.200 H 284.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4725AF
RGBrgb(71, 37, 175)
HSLhsl(255, 65%, 42%)
HSVhsv(255, 79%, 69%)
CMYKcmyk(59.4%, 78.9%, 0%, 31.4%)
CIE-LABlab(28.79, 50.56, -67.29)
CIE-LCHlch(28.79, 84.17, 306.92°)
OKLaboklab(40.89% 0.0503 -0.1939)
OKLCHoklch(40.89% 0.2 284.5)
XYZxyz(10.9956, 5.7572, 41.0810)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725AF #8DAF25
analogous
#2548AF #4725AF #8C25AF
triadic
#4725AF #AF4725 #25AF47
tetradic
#4725AF #AF2548 #8DAF25 #25AF8C
square
#4725AF #AF2548 #8DAF25 #25AF8C
split-complementary
#4725AF #AF8C25 #48AF25
monochromatic
#1E104A #331A7C #4725AF #623CD6 #8A6EE0

Accessibility & contrast

On white

9.76
#4725AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4725AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725AF
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725AF#FFFFFF#000000##FFFFFF
##4725AF1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#034E6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4725af;
/* rgb */ color: rgb(71, 37, 175);
/* oklch */ color: oklch(40.9% 0.200 284.5);
Tailwind
colors: {
  custom: {
    50: '#8765c8',
    500: '#4725af',
    950: '#000000',
  },
}
SCSS
$custom: #4725af;
$custom-light: #8765c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4725af",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 254.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.20034,
    "h": 284.5
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#4725AF
secondary
#B0C769
accent
#E840BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4725AF

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

Preview Lab → · Contrast checker → · Palette generator →

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