#4631AA#4631AA

#4631AA is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.182 H 283.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4631AA
RGBrgb(70, 49, 170)
HSLhsl(250, 55%, 43%)
HSVhsv(250, 71%, 67%)
CMYKcmyk(58.8%, 71.2%, 0%, 33.3%)
CIE-LABlab(30.40, 42.75, -61.65)
CIE-LCHlch(30.40, 75.02, 304.74°)
OKLaboklab(41.86% 0.0414 -0.1776)
OKLCHoklch(41.86% 0.182 283.1)
XYZxyz(10.8776, 6.4003, 38.6846)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4631AA #95AA31
analogous
#3159AA #4631AA #8231AA
triadic
#4631AA #AA4631 #31AA46
tetradic
#4631AA #AA3159 #95AA31 #31AA82
square
#4631AA #AA3159 #95AA31 #31AA82
split-complementary
#4631AA #AA8231 #59AA31
monochromatic
#1F164B #32237A #4631AA #634DCC #8C7CD9

Accessibility & contrast

On white

9.21
#4631AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4631AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4631AA#FFFFFF#000000##FFFFFF
##4631AA1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#09516A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4631aa;
/* rgb */ color: rgb(70, 49, 170);
/* oklch */ color: oklch(41.9% 0.182 283.1);
Tailwind
colors: {
  custom: {
    50: '#856bc4',
    500: '#4631aa',
    950: '#000000',
  },
}
SCSS
$custom: #4631aa;
$custom-light: #856bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4631aa",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 250.413,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41856,
    "c": 0.1823,
    "h": 283.1
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4631AA

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

Preview Lab → · Contrast checker → · Palette generator →

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