#4628B7#4628B7

#4628B7 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.0% C 0.207 H 282.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4628B7
RGBrgb(70, 40, 183)
HSLhsl(253, 64%, 44%)
HSVhsv(253, 78%, 72%)
CMYKcmyk(61.7%, 78.1%, 0%, 28.2%)
CIE-LABlab(30.00, 51.34, -70.07)
CIE-LCHlch(30.00, 86.86, 306.23°)
OKLaboklab(41.96% 0.0446 -0.2021)
OKLCHoklch(41.96% 0.207 282.4)
XYZxyz(11.8292, 6.2377, 45.3712)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628B7 #99B728
analogous
#2851B7 #4628B7 #8D28B7
triadic
#4628B7 #B74628 #28B746
tetradic
#4628B7 #B72851 #99B728 #28B78D
square
#4628B7 #B72851 #99B728 #28B78D
split-complementary
#4628B7 #B78D28 #51B728
monochromatic
#201253 #331D85 #4628B7 #6446D6 #8E78E1

Accessibility & contrast

On white

9.34
#4628B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4628B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628B7
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628B7#FFFFFF#000000##FFFFFF
##4628B71.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4628b7;
/* rgb */ color: rgb(70, 40, 183);
/* oklch */ color: oklch(42.0% 0.207 282.4);
Tailwind
colors: {
  custom: {
    50: '#8867ce',
    500: '#4628b7',
    950: '#000000',
  },
}
SCSS
$custom: #4628b7;
$custom-light: #8867ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4628b7",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 252.587,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.20693,
    "h": 282.4
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#4628B7
secondary
#B7C972
accent
#E741C4
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4628B7

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

Preview Lab → · Contrast checker → · Palette generator →

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