#674A8A#674A8A

#674A8A is a mid, moderate violet. Relative luminance 0.096; OKLCH L 46.9% C 0.105 H 303.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#674A8A
RGBrgb(103, 74, 138)
HSLhsl(267, 30%, 42%)
HSVhsv(267, 46%, 54%)
CMYKcmyk(25.4%, 46.4%, 0%, 45.9%)
CIE-LABlab(37.14, 26.07, -31.22)
CIE-LCHlch(37.14, 40.67, 309.87°)
OKLaboklab(46.88% 0.0578 -0.0873)
OKLCHoklch(46.88% 0.105 303.5)
XYZxyz(12.6288, 9.6161, 25.2306)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674A8A #6D8A4A
analogous
#4A4D8A #674A8A #874A8A
triadic
#674A8A #8A674A #4A8A67
tetradic
#674A8A #8A4A4D #6D8A4A #4A8A87
square
#674A8A #8A4A4D #6D8A4A #4A8A87
split-complementary
#674A8A #8A874A #4D8A4A
monochromatic
#2C1F3A #493562 #674A8A #8565AC #A58DC2

Accessibility & contrast

On white

7.18
#674A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#674A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674A8A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674A8A#FFFFFF#000000##FFFFFF
##674A8A1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578C
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#615563
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #674a8a;
/* rgb */ color: rgb(103, 74, 138);
/* oklch */ color: oklch(46.9% 0.105 303.5);
Tailwind
colors: {
  custom: {
    50: '#947dac',
    500: '#674a8a',
    950: '#000000',
  },
}
SCSS
$custom: #674a8a;
$custom-light: #947dac;
$custom-dark: #000000;
JSON
{
  "hex": "#674a8a",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 267.188,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46875,
    "c": 0.10467,
    "h": 303.5
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#674A8A
secondary
#9AAE82
accent
#C66199
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #674A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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