#4627AD#4627AD

#4627AD is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.196 H 284.2°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4627AD
RGBrgb(70, 39, 173)
HSLhsl(254, 63%, 42%)
HSVhsv(254, 77%, 68%)
CMYKcmyk(59.5%, 77.5%, 0%, 32.2%)
CIE-LABlab(28.82, 48.91, -66.04)
CIE-LCHlch(28.82, 82.18, 306.52°)
OKLaboklab(40.83% 0.048 -0.1903)
OKLCHoklch(40.83% 0.196 284.2)
XYZxyz(10.7918, 5.7696, 40.0720)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627AD #8EAD27
analogous
#274BAD #4627AD #8927AD
triadic
#4627AD #AD4627 #27AD46
tetradic
#4627AD #AD274B #8EAD27 #27AD89
square
#4627AD #AD274B #8EAD27 #27AD89
split-complementary
#4627AD #AD8927 #4BAD27
monochromatic
#1E1049 #321C7B #4627AD #603ED3 #8970DF

Accessibility & contrast

On white

9.75
#4627AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4627AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627AD
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627AD#FFFFFF#000000##FFFFFF
##4627AD1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#024E69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4627ad;
/* rgb */ color: rgb(70, 39, 173);
/* oklch */ color: oklch(40.8% 0.196 284.2);
Tailwind
colors: {
  custom: {
    50: '#8665c7',
    500: '#4627ad',
    950: '#000000',
  },
}
SCSS
$custom: #4627ad;
$custom-light: #8665c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4627ad",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 253.881,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.1963,
    "h": 284.2
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#4627AD
secondary
#B0C66A
accent
#E642C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4627AD

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

Preview Lab → · Contrast checker → · Palette generator →

#4627AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva