#673297#673297

#673297 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.160 H 304.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#673297
RGBrgb(103, 50, 151)
HSLhsl(271, 50%, 39%)
HSVhsv(271, 67%, 59%)
CMYKcmyk(31.8%, 66.9%, 0%, 40.8%)
CIE-LABlab(32.70, 43.13, -46.25)
CIE-LCHlch(32.70, 63.24, 313.00°)
OKLaboklab(43.86% 0.091 -0.1312)
OKLCHoklch(43.86% 0.16 304.7)
XYZxyz(12.3188, 7.3992, 30.0514)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#673297 #629732
analogous
#343297 #673297 #973295
triadic
#673297 #976732 #329767
tetradic
#673297 #973432 #629732 #329597
square
#673297 #973432 #629732 #329597
split-complementary
#673297 #959732 #329734
monochromatic
#28143B #482369 #673297 #8645C1 #A473D1

Accessibility & contrast

On white

8.47
#673297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#673297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #673297
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##673297#FFFFFF#000000##FFFFFF
##6732971.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#134D95
Tritanopia (blue-blind)
#5E4860
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #673297;
/* rgb */ color: rgb(103, 50, 151);
/* oklch */ color: oklch(43.9% 0.160 304.7);
Tailwind
colors: {
  custom: {
    50: '#966eb6',
    500: '#673297',
    950: '#000000',
  },
}
SCSS
$custom: #673297;
$custom-light: #966eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#673297",
  "rgb": {
    "r": 103,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 271.485,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43863,
    "c": 0.15964,
    "h": 304.7
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#673297
secondary
#91B96C
accent
#DA4E90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #673297

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

Preview Lab → · Contrast checker → · Palette generator →

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