#4631AC#4631AC

#4631AC is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.0% C 0.185 H 282.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#4631AC
RGBrgb(70, 49, 172)
HSLhsl(250, 56%, 43%)
HSVhsv(250, 72%, 67%)
CMYKcmyk(59.3%, 71.5%, 0%, 32.5%)
CIE-LABlab(30.58, 43.37, -62.55)
CIE-LCHlch(30.58, 76.11, 304.74°)
OKLaboklab(42.04% 0.041 -0.1802)
OKLCHoklch(42.04% 0.185 282.8)
XYZxyz(11.0682, 6.4765, 39.6886)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4631AC #97AC31
analogous
#3159AC #4631AC #8331AC
triadic
#4631AC #AC4631 #31AC46
tetradic
#4631AC #AC3159 #97AC31 #31AC83
square
#4631AC #AC3159 #97AC31 #31AC83
split-complementary
#4631AC #AC8331 #59AC31
monochromatic
#1F164D #33237C #4631AC #634ECC #8D7DDA

Accessibility & contrast

On white

9.15
#4631AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4631AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4631AC
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4631AC#FFFFFF#000000##FFFFFF
##4631AC1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#03526B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4631ac;
/* rgb */ color: rgb(70, 49, 172);
/* oklch */ color: oklch(42.0% 0.185 282.8);
Tailwind
colors: {
  custom: {
    50: '#856bc6',
    500: '#4631ac',
    950: '#000000',
  },
}
SCSS
$custom: #4631ac;
$custom-light: #856bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4631ac",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 250.244,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42043,
    "c": 0.18478,
    "h": 282.8
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#4631AC
secondary
#B6C376
accent
#DF49C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4631AC

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

Preview Lab → · Contrast checker → · Palette generator →

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