#463398#463398

#463398 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.157 H 285.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#463398
RGBrgb(70, 51, 152)
HSLhsl(251, 50%, 40%)
HSVhsv(251, 66%, 60%)
CMYKcmyk(53.9%, 66.4%, 0%, 40.4%)
CIE-LABlab(29.25, 35.98, -52.63)
CIE-LCHlch(29.25, 63.75, 304.35°)
OKLaboklab(40.54% 0.0424 -0.1511)
OKLCHoklch(40.54% 0.157 285.7)
XYZxyz(9.3754, 5.9362, 30.3515)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#463398 #859833
analogous
#335398 #463398 #793398
triadic
#463398 #984633 #339846
tetradic
#463398 #983353 #859833 #339879
square
#463398 #983353 #859833 #339879
split-complementary
#463398 #987933 #539833
monochromatic
#1C143C #31246A #463398 #5E47C1 #8675D1

Accessibility & contrast

On white

9.60
#463398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#463398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #463398
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##463398#FFFFFF#000000##FFFFFF
##4633981.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#254C61
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #463398;
/* rgb */ color: rgb(70, 51, 152);
/* oklch */ color: oklch(40.5% 0.157 285.7);
Tailwind
colors: {
  custom: {
    50: '#816cb7',
    500: '#463398',
    950: '#000000',
  },
}
SCSS
$custom: #463398;
$custom-light: #816cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#463398",
  "rgb": {
    "r": 70,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 251.287,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.15692,
    "h": 285.7
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#463398
secondary
#ABB96E
accent
#D94FBF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #463398

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

Preview Lab → · Contrast checker → · Palette generator →

#463398 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva