#674C97#674C97

#674C97 is a mid, moderate violet. Relative luminance 0.103; OKLCH L 48.0% C 0.119 H 298.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#674C97
RGBrgb(103, 76, 151)
HSLhsl(262, 33%, 45%)
HSVhsv(262, 50%, 59%)
CMYKcmyk(31.8%, 49.7%, 0%, 40.8%)
CIE-LABlab(38.35, 28.28, -37.20)
CIE-LCHlch(38.35, 46.73, 307.25°)
OKLaboklab(48.01% 0.0567 -0.1047)
OKLCHoklch(48.01% 0.119 298.4)
XYZxyz(13.7625, 10.2867, 30.5326)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674C97 #7C974C
analogous
#4C5797 #674C97 #8D4C97
triadic
#674C97 #97674C #4C9767
tetradic
#674C97 #974C57 #7C974C #4C978D
square
#674C97 #974C57 #7C974C #4C978D
split-complementary
#674C97 #978D4C #57974C
monochromatic
#2F2346 #4B386E #674C97 #866BB5 #A794C9

Accessibility & contrast

On white

6.87
#674C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#674C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674C97
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674C97#FFFFFF#000000##FFFFFF
##674C971.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#395A95
Tritanopia (blue-blind)
#5D5A6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #674c97;
/* rgb */ color: rgb(103, 76, 151);
/* oklch */ color: oklch(48.0% 0.119 298.4);
Tailwind
colors: {
  custom: {
    50: '#957eb6',
    500: '#674c97',
    950: '#000000',
  },
}
SCSS
$custom: #674c97;
$custom-light: #957eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#674c97",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 261.6,
    "s": 33.04,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.11905,
    "h": 298.4
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#674C97
secondary
#A6B689
accent
#C95FA3
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #674C97

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

Preview Lab → · Contrast checker → · Palette generator →

#674C97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva