#4628B2#4628B2

#4628B2 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.201 H 283.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4628B2
RGBrgb(70, 40, 178)
HSLhsl(253, 63%, 43%)
HSVhsv(253, 78%, 70%)
CMYKcmyk(60.7%, 77.5%, 0%, 30.2%)
CIE-LABlab(29.50, 49.88, -67.93)
CIE-LCHlch(29.50, 84.28, 306.29°)
OKLaboklab(41.45% 0.046 -0.1958)
OKLCHoklch(41.45% 0.201 283.2)
XYZxyz(11.3180, 6.0333, 42.6790)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628B2 #94B228
analogous
#284FB2 #4628B2 #8B28B2
triadic
#4628B2 #B24628 #28B246
tetradic
#4628B2 #B2284F #94B228 #28B28B
square
#4628B2 #B2284F #94B228 #28B28B
split-complementary
#4628B2 #B28B28 #4FB228
monochromatic
#1F124E #321D80 #4628B2 #6243D5 #8C75E0

Accessibility & contrast

On white

9.52
#4628B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4628B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628B2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628B2#FFFFFF#000000##FFFFFF
##4628B21.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4628b2;
/* rgb */ color: rgb(70, 40, 178);
/* oklch */ color: oklch(41.5% 0.201 283.2);
Tailwind
colors: {
  custom: {
    50: '#8766ca',
    500: '#4628b2',
    950: '#000000',
  },
}
SCSS
$custom: #4628b2;
$custom-light: #8766ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4628b2",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 253.043,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.20117,
    "h": 283.2
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#4628B2
secondary
#B4C76F
accent
#E641C2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4628B2

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

Preview Lab → · Contrast checker → · Palette generator →

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