#674C8A#674C8A

#674C8A is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.2% C 0.101 H 302.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#674C8A
RGBrgb(103, 76, 138)
HSLhsl(266, 29%, 42%)
HSVhsv(266, 45%, 54%)
CMYKcmyk(25.4%, 44.9%, 0%, 45.9%)
CIE-LABlab(37.64, 24.84, -30.43)
CIE-LCHlch(37.64, 39.29, 309.23°)
OKLaboklab(47.25% 0.0548 -0.085)
OKLCHoklch(47.25% 0.101 302.8)
XYZxyz(12.7644, 9.8874, 25.2758)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674C8A #6F8A4C
analogous
#4C508A #674C8A #864C8A
triadic
#674C8A #8A674C #4C8A67
tetradic
#674C8A #8A4C50 #6F8A4C #4C8A86
square
#674C8A #8A4C50 #6F8A4C #4C8A86
split-complementary
#674C8A #8A864C #508A4C
monochromatic
#2C213B #4A3663 #674C8A #8568AC #A58FC1

Accessibility & contrast

On white

7.05
#674C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#674C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674C8A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674C8A#FFFFFF#000000##FFFFFF
##674C8A1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C588C
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#615664
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #674c8a;
/* rgb */ color: rgb(103, 76, 138);
/* oklch */ color: oklch(47.2% 0.101 302.8);
Tailwind
colors: {
  custom: {
    50: '#947eac',
    500: '#674c8a',
    950: '#000000',
  },
}
SCSS
$custom: #674c8a;
$custom-light: #947eac;
$custom-dark: #000000;
JSON
{
  "hex": "#674c8a",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 266.129,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.10113,
    "h": 302.8
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#674C8A
secondary
#9CAE84
accent
#C5639A
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #674C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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