#4627BC#4627BC

#4627BC is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.214 H 281.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4627BC
RGBrgb(70, 39, 188)
HSLhsl(252, 66%, 45%)
HSVhsv(252, 79%, 74%)
CMYKcmyk(62.8%, 79.3%, 0%, 26.3%)
CIE-LABlab(30.36, 53.26, -72.44)
CIE-LCHlch(30.36, 89.91, 306.32°)
OKLaboklab(42.36% 0.0437 -0.209)
OKLCHoklch(42.36% 0.214 281.8)
XYZxyz(12.3256, 6.3831, 48.1497)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627BC #9DBC27
analogous
#2753BC #4627BC #9127BC
triadic
#4627BC #BC4627 #27BC46
tetradic
#4627BC #BC2753 #9DBC27 #27BC91
square
#4627BC #BC2753 #9DBC27 #27BC91
split-complementary
#4627BC #BC9127 #53BC27
monochromatic
#201257 #331C89 #4627BC #6647D9 #907AE3

Accessibility & contrast

On white

9.22
#4627BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4627BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627BC
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627BC#FFFFFF#000000##FFFFFF
##4627BC1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4627bc;
/* rgb */ color: rgb(70, 39, 188);
/* oklch */ color: oklch(42.4% 0.214 281.8);
Tailwind
colors: {
  custom: {
    50: '#8966d2',
    500: '#4627bc',
    950: '#000000',
  },
}
SCSS
$custom: #4627bc;
$custom-light: #8966d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4627bc",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 252.483,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42358,
    "c": 0.21352,
    "h": 281.8
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#4627BC
secondary
#B9CB73
accent
#E93FC5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4627BC

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

Preview Lab → · Contrast checker → · Palette generator →

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