#4628BE#4628BE

#4628BE is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.7% C 0.215 H 281.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4628BE
RGBrgb(70, 40, 190)
HSLhsl(252, 65%, 45%)
HSVhsv(252, 79%, 75%)
CMYKcmyk(63.2%, 78.9%, 0%, 25.5%)
CIE-LABlab(30.73, 53.37, -73.02)
CIE-LCHlch(30.73, 90.44, 306.17°)
OKLaboklab(42.68% 0.0425 -0.2107)
OKLCHoklch(42.68% 0.215 281.4)
XYZxyz(12.5759, 6.5364, 49.3042)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4628BE #A0BE28
analogous
#2855BE #4628BE #9128BE
triadic
#4628BE #BE4628 #28BE46
tetradic
#4628BE #BE2855 #A0BE28 #28BE91
square
#4628BE #BE2855 #A0BE28 #28BE91
split-complementary
#4628BE #BE9128 #55BE28
monochromatic
#211359 #331D8B #4628BE #674AD9 #917DE4

Accessibility & contrast

On white

9.10
#4628BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4628BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4628BE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4628BE#FFFFFF#000000##FFFFFF
##4628BE1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC2
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4628be;
/* rgb */ color: rgb(70, 40, 190);
/* oklch */ color: oklch(42.7% 0.215 281.4);
Tailwind
colors: {
  custom: {
    50: '#8967d3',
    500: '#4628be',
    950: '#000000',
  },
}
SCSS
$custom: #4628be;
$custom-light: #8967d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4628be",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 190
  },
  "hsl": {
    "h": 252,
    "s": 65.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.21494,
    "h": 281.4
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#4628BE
secondary
#BBCC76
accent
#E840C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4628BE

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

Preview Lab → · Contrast checker → · Palette generator →

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