#4628C0#4628C0

#4628C0 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.9% C 0.217 H 281.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#4628C0
RGBrgb(70, 40, 192)
HSLhsl(252, 66%, 45%)
HSVhsv(252, 79%, 75%)
CMYKcmyk(63.5%, 79.2%, 0%, 24.7%)
CIE-LABlab(30.94, 53.95, -73.85)
CIE-LCHlch(30.94, 91.46, 306.15°)
OKLaboklab(42.88% 0.042 -0.2131)
OKLCHoklch(42.88% 0.217 281.1)
XYZxyz(12.7960, 6.6245, 50.4633)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628C0 #A2C028
analogous
#2856C0 #4628C0 #9228C0
triadic
#4628C0 #C04628 #28C046
tetradic
#4628C0 #C02856 #A2C028 #28C092
square
#4628C0 #C02856 #A2C028 #28C092
split-complementary
#4628C0 #C09228 #56C028
monochromatic
#21135B #341D8D #4628C0 #684CDA #927EE4

Accessibility & contrast

On white

9.03
#4628C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4628C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628C0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628C0#FFFFFF#000000##FFFFFF
##4628C01.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC4
Deuteranopia (green-blind)
#0043BD
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4628c0;
/* rgb */ color: rgb(70, 40, 192);
/* oklch */ color: oklch(42.9% 0.217 281.1);
Tailwind
colors: {
  custom: {
    50: '#8967d4',
    500: '#4628c0',
    950: '#000000',
  },
}
SCSS
$custom: #4628c0;
$custom-light: #8967d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4628c0",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 192
  },
  "hsl": {
    "h": 251.842,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.21721,
    "h": 281.1
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#4628C0
secondary
#BCCD77
accent
#E83FC7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4628C0

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

Preview Lab → · Contrast checker → · Palette generator →

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