#4724AF#4724AF

#4724AF is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.201 H 284.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#4724AF
RGBrgb(71, 36, 175)
HSLhsl(255, 66%, 41%)
HSVhsv(255, 79%, 69%)
CMYKcmyk(59.4%, 79.4%, 0%, 31.4%)
CIE-LABlab(28.63, 51.02, -67.56)
CIE-LCHlch(28.63, 84.66, 307.06°)
OKLaboklab(40.78% 0.0509 -0.1947)
OKLCHoklch(40.78% 0.201 284.6)
XYZxyz(10.9649, 5.6958, 41.0707)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4724AF #8CAF24
analogous
#2447AF #4724AF #8D24AF
triadic
#4724AF #AF4724 #24AF47
tetradic
#4724AF #AF2447 #8CAF24 #24AF8D
square
#4724AF #AF2447 #8CAF24 #24AF8D
split-complementary
#4724AF #AF8D24 #47AF24
monochromatic
#1E0F49 #321A7C #4724AF #613AD6 #8A6DE1

Accessibility & contrast

On white

9.82
#4724AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4724AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4724AF
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4724AF#FFFFFF#000000##FFFFFF
##4724AF1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#044D6A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4724af;
/* rgb */ color: rgb(71, 36, 175);
/* oklch */ color: oklch(40.8% 0.201 284.6);
Tailwind
colors: {
  custom: {
    50: '#8764c8',
    500: '#4724af',
    950: '#000000',
  },
}
SCSS
$custom: #4724af;
$custom-light: #8764c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4724af",
  "rgb": {
    "r": 71,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 255.108,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.20123,
    "h": 284.6
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#4724AF
secondary
#AFC768
accent
#E93FBE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4724AF

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

Preview Lab → · Contrast checker → · Palette generator →

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