#4627B2#4627B2

#4627B2 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.3% C 0.202 H 283.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4627B2
RGBrgb(70, 39, 178)
HSLhsl(253, 64%, 43%)
HSVhsv(253, 78%, 70%)
CMYKcmyk(60.7%, 78.1%, 0%, 30.2%)
CIE-LABlab(29.33, 50.37, -68.20)
CIE-LCHlch(29.33, 84.78, 306.44°)
OKLaboklab(41.33% 0.0466 -0.1966)
OKLCHoklch(41.33% 0.202 283.3)
XYZxyz(11.2847, 5.9667, 42.6679)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4627B2 #93B227
analogous
#274EB2 #4627B2 #8B27B2
triadic
#4627B2 #B24627 #27B246
tetradic
#4627B2 #B2274E #93B227 #27B28B
square
#4627B2 #B2274E #93B227 #27B28B
split-complementary
#4627B2 #B28B27 #4EB227
monochromatic
#1F114E #321C80 #4627B2 #6241D5 #8B73E0

Accessibility & contrast

On white

9.57
#4627B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4627B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4627B2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4627B2#FFFFFF#000000##FFFFFF
##4627B21.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4627b2;
/* rgb */ color: rgb(70, 39, 178);
/* oklch */ color: oklch(41.3% 0.202 283.3);
Tailwind
colors: {
  custom: {
    50: '#8766ca',
    500: '#4627b2',
    950: '#000000',
  },
}
SCSS
$custom: #4627b2;
$custom-light: #8766ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4627b2",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 253.381,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41333,
    "c": 0.20209,
    "h": 283.3
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#4627B2
secondary
#B3C86D
accent
#E741C2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4627B2

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

Preview Lab → · Contrast checker → · Palette generator →

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