#4628B1#4628B1

#4628B1 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.3% C 0.200 H 283.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4628B1
RGBrgb(70, 40, 177)
HSLhsl(253, 63%, 43%)
HSVhsv(253, 77%, 69%)
CMYKcmyk(60.5%, 77.4%, 0%, 30.6%)
CIE-LABlab(29.40, 49.59, -67.50)
CIE-LCHlch(29.40, 83.76, 306.31°)
OKLaboklab(41.35% 0.0463 -0.1946)
OKLCHoklch(41.35% 0.2 283.4)
XYZxyz(11.2179, 5.9932, 42.1521)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628B1 #93B128
analogous
#284EB1 #4628B1 #8B28B1
triadic
#4628B1 #B14628 #28B146
tetradic
#4628B1 #B1284E #93B128 #28B18B
square
#4628B1 #B1284E #93B128 #28B18B
split-complementary
#4628B1 #B18B28 #4EB128
monochromatic
#1F114D #321D7F #4628B1 #6242D4 #8B74E0

Accessibility & contrast

On white

9.55
#4628B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4628B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628B1
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628B1#FFFFFF#000000##FFFFFF
##4628B11.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4628b1;
/* rgb */ color: rgb(70, 40, 177);
/* oklch */ color: oklch(41.3% 0.200 283.4);
Tailwind
colors: {
  custom: {
    50: '#8766ca',
    500: '#4628b1',
    950: '#000000',
  },
}
SCSS
$custom: #4628b1;
$custom-light: #8766ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4628b1",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 253.139,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4135,
    "c": 0.2,
    "h": 283.4
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#4628B1
secondary
#B3C76E
accent
#E642C2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4628B1

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

Preview Lab → · Contrast checker → · Palette generator →

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