#463178#463178

#463178 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.6% C 0.116 H 293.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#463178
RGBrgb(70, 49, 120)
HSLhsl(258, 42%, 33%)
HSVhsv(258, 59%, 47%)
CMYKcmyk(41.7%, 59.2%, 0%, 52.9%)
CIE-LABlab(26.32, 27.32, -37.48)
CIE-LCHlch(26.32, 46.38, 306.09°)
OKLaboklab(37.62% 0.0467 -0.1065)
OKLCHoklch(37.62% 0.116 293.7)
XYZxyz(7.0134, 4.8546, 18.3332)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#463178 #637831
analogous
#313F78 #463178 #693178
triadic
#463178 #784631 #317846
tetradic
#463178 #78313F #637831 #317869
square
#463178 #78313F #637831 #317869
split-complementary
#463178 #786931 #3F7831
monochromatic
#130E21 #2D1F4D #463178 #5F43A3 #7F64C0

Accessibility & contrast

On white

10.65
#463178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#463178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #463178
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##463178#FFFFFF#000000##FFFFFF
##4631781.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3F7A
Deuteranopia (green-blind)
#123D76
Tritanopia (blue-blind)
#39404F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #463178;
/* rgb */ color: rgb(70, 49, 120);
/* oklch */ color: oklch(37.6% 0.116 293.7);
Tailwind
colors: {
  custom: {
    50: '#7d6a9f',
    500: '#463178',
    950: '#000000',
  },
}
SCSS
$custom: #463178;
$custom-light: #7d6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#463178",
  "rgb": {
    "r": 70,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 257.746,
    "s": 42.012,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37624,
    "c": 0.11635,
    "h": 293.7
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#463178
secondary
#91A75E
accent
#D256AD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060E
muted
#7C7A7E

Preview Lab

Preview with #463178

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

Preview Lab → · Contrast checker → · Palette generator →

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