#4725B1#4725B1

#4725B1 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.1% C 0.203 H 284.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4725B1
RGBrgb(71, 37, 177)
HSLhsl(255, 65%, 42%)
HSVhsv(255, 79%, 69%)
CMYKcmyk(59.9%, 79.1%, 0%, 30.6%)
CIE-LABlab(29.00, 51.14, -68.15)
CIE-LCHlch(29.00, 85.20, 306.88°)
OKLaboklab(41.09% 0.0497 -0.1964)
OKLCHoklch(41.09% 0.203 284.2)
XYZxyz(11.1935, 5.8363, 42.1231)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4725B1 #8FB125
analogous
#2549B1 #4725B1 #8D25B1
triadic
#4725B1 #B14725 #25B147
tetradic
#4725B1 #B12549 #8FB125 #25B18D
square
#4725B1 #B12549 #8FB125 #25B18D
split-complementary
#4725B1 #B18D25 #49B125
monochromatic
#1E104C #331A7E #4725B1 #623DD6 #8B6FE1

Accessibility & contrast

On white

9.69
#4725B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4725B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4725B1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4725B1#FFFFFF#000000##FFFFFF
##4725B11.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4725b1;
/* rgb */ color: rgb(71, 37, 177);
/* oklch */ color: oklch(41.1% 0.203 284.2);
Tailwind
colors: {
  custom: {
    50: '#8765ca',
    500: '#4725b1',
    950: '#000000',
  },
}
SCSS
$custom: #4725b1;
$custom-light: #8765ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4725b1",
  "rgb": {
    "r": 71,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 254.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.20262,
    "h": 284.2
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#4725B1
secondary
#B1C86A
accent
#E83FBF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4725B1

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

Preview Lab → · Contrast checker → · Palette generator →

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