#674A96#674A96

#674A96 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.6% C 0.121 H 299.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#674A96
RGBrgb(103, 74, 150)
HSLhsl(263, 34%, 44%)
HSVhsv(263, 51%, 59%)
CMYKcmyk(31.3%, 50.7%, 0%, 41.2%)
CIE-LABlab(37.81, 29.22, -37.45)
CIE-LCHlch(37.81, 47.50, 307.97°)
OKLaboklab(47.59% 0.0594 -0.1054)
OKLCHoklch(47.59% 0.121 299.4)
XYZxyz(13.5460, 9.9830, 30.0615)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674A96 #79964A
analogous
#4A5396 #674A96 #8D4A96
triadic
#674A96 #96674A #4A9667
tetradic
#674A96 #964A53 #79964A #4A968D
square
#674A96 #964A53 #79964A #4A968D
split-complementary
#674A96 #968D4A #53964A
monochromatic
#2F2244 #4B366D #674A96 #8668B5 #A791C9

Accessibility & contrast

On white

7.01
#674A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#674A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674A96
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674A96#FFFFFF#000000##FFFFFF
##674A961.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#385894
Tritanopia (blue-blind)
#5D5869
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #674a96;
/* rgb */ color: rgb(103, 74, 150);
/* oklch */ color: oklch(47.6% 0.121 299.4);
Tailwind
colors: {
  custom: {
    50: '#957db5',
    500: '#674a96',
    950: '#000000',
  },
}
SCSS
$custom: #674a96;
$custom-light: #957db5;
$custom-dark: #000000;
JSON
{
  "hex": "#674a96",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 262.895,
    "s": 33.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47592,
    "c": 0.12102,
    "h": 299.4
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#674A96
secondary
#A3B587
accent
#CA5EA1
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #674A96

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

Preview Lab → · Contrast checker → · Palette generator →

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