#673698#673698

#673698 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.155 H 303.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#673698
RGBrgb(103, 54, 152)
HSLhsl(270, 48%, 40%)
HSVhsv(270, 64%, 60%)
CMYKcmyk(32.2%, 64.5%, 0%, 40.4%)
CIE-LABlab(33.54, 41.27, -45.51)
CIE-LCHlch(33.54, 61.43, 312.21°)
OKLaboklab(44.49% 0.0861 -0.129)
OKLCHoklch(44.49% 0.155 303.7)
XYZxyz(12.5789, 7.7889, 30.5404)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673698 #679836
analogous
#363698 #673698 #983698
triadic
#673698 #986736 #369867
tetradic
#673698 #983636 #679836 #369898
square
#673698 #983636 #679836 #369898
split-complementary
#673698 #989836 #369836
monochromatic
#2A163E #48266B #673698 #864CBF #A479CF

Accessibility & contrast

On white

8.21
#673698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#673698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673698
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673698#FFFFFF#000000##FFFFFF
##6736981.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#194F96
Tritanopia (blue-blind)
#5E4B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #673698;
/* rgb */ color: rgb(103, 54, 152);
/* oklch */ color: oklch(44.5% 0.155 303.7);
Tailwind
colors: {
  custom: {
    50: '#9670b7',
    500: '#673698',
    950: '#000000',
  },
}
SCSS
$custom: #673698;
$custom-light: #9670b7;
$custom-dark: #000000;
JSON
{
  "hex": "#673698",
  "rgb": {
    "r": 103,
    "g": 54,
    "b": 152
  },
  "hsl": {
    "h": 270,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.15508,
    "h": 303.7
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#673698
secondary
#95B872
accent
#D75194
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #673698

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

Preview Lab → · Contrast checker → · Palette generator →

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