#4631A5#4631A5

#4631A5 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.176 H 283.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4631A5
RGBrgb(70, 49, 165)
HSLhsl(251, 54%, 42%)
HSVhsv(251, 70%, 65%)
CMYKcmyk(57.6%, 70.3%, 0%, 35.3%)
CIE-LABlab(29.95, 41.20, -59.38)
CIE-LCHlch(29.95, 72.28, 304.75°)
OKLaboklab(41.39% 0.0423 -0.1709)
OKLCHoklch(41.39% 0.176 283.9)
XYZxyz(10.4136, 6.2147, 36.2408)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4631A5 #90A531
analogous
#3156A5 #4631A5 #8031A5
triadic
#4631A5 #A54631 #31A546
tetradic
#4631A5 #A53156 #90A531 #31A580
square
#4631A5 #A53156 #90A531 #31A580
split-complementary
#4631A5 #A58031 #56A531
monochromatic
#1E1547 #322376 #4631A5 #614AC9 #8A79D7

Accessibility & contrast

On white

9.36
#4631A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4631A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4631A5
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4631A5#FFFFFF#000000##FFFFFF
##4631A51.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#155067
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4631a5;
/* rgb */ color: rgb(70, 49, 165);
/* oklch */ color: oklch(41.4% 0.176 283.9);
Tailwind
colors: {
  custom: {
    50: '#846bc1',
    500: '#4631a5',
    950: '#000000',
  },
}
SCSS
$custom: #4631a5;
$custom-light: #846bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4631a5",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 250.862,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.17606,
    "h": 283.9
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#4631A5
secondary
#B2C072
accent
#DE4AC3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4631A5

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

Preview Lab → · Contrast checker → · Palette generator →

#4631A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva