#4631A8#4631A8

#4631A8 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.7% C 0.180 H 283.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#4631A8
RGBrgb(70, 49, 168)
HSLhsl(251, 55%, 43%)
HSVhsv(251, 71%, 66%)
CMYKcmyk(58.3%, 70.8%, 0%, 34.1%)
CIE-LABlab(30.22, 42.13, -60.75)
CIE-LCHlch(30.22, 73.93, 304.74°)
OKLaboklab(41.67% 0.0417 -0.1749)
OKLCHoklch(41.67% 0.18 283.4)
XYZxyz(10.6898, 6.3252, 37.6958)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4631A8 #93A831
analogous
#3158A8 #4631A8 #8131A8
triadic
#4631A8 #A84631 #31A846
tetradic
#4631A8 #A83158 #93A831 #31A881
square
#4631A8 #A83158 #93A831 #31A881
split-complementary
#4631A8 #A88131 #58A831
monochromatic
#1F1549 #322379 #4631A8 #624CCB #8B7BD8

Accessibility & contrast

On white

9.27
#4631A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4631A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4631A8
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4631A8#FFFFFF#000000##FFFFFF
##4631A81.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#0E5169
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4631a8;
/* rgb */ color: rgb(70, 49, 168);
/* oklch */ color: oklch(41.7% 0.180 283.4);
Tailwind
colors: {
  custom: {
    50: '#846bc3',
    500: '#4631a8',
    950: '#000000',
  },
}
SCSS
$custom: #4631a8;
$custom-light: #846bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4631a8",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 250.588,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41671,
    "c": 0.17981,
    "h": 283.4
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#4631A8
secondary
#B3C174
accent
#DE4AC4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4631A8

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

Preview Lab → · Contrast checker → · Palette generator →

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