#674A8D#674A8D

#674A8D is a mid, moderate violet. Relative luminance 0.097; OKLCH L 47.0% C 0.109 H 302.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#674A8D
RGBrgb(103, 74, 141)
HSLhsl(266, 31%, 42%)
HSVhsv(266, 48%, 55%)
CMYKcmyk(27%, 47.5%, 0%, 44.7%)
CIE-LABlab(37.31, 26.85, -32.79)
CIE-LCHlch(37.31, 42.38, 309.31°)
OKLaboklab(47.05% 0.0583 -0.0918)
OKLCHoklch(47.05% 0.109 302.4)
XYZxyz(12.8490, 9.7042, 26.3903)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674A8D #708D4A
analogous
#4A4F8D #674A8D #894A8D
triadic
#674A8D #8D674A #4A8D67
tetradic
#674A8D #8D4A4F #708D4A #4A8D89
square
#674A8D #8D4A4F #708D4A #4A8D89
split-complementary
#674A8D #8D894A #4F8D4A
monochromatic
#2C203D #4A3565 #674A8D #8566AF #A58EC4

Accessibility & contrast

On white

7.14
#674A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#674A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674A8D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674A8D#FFFFFF#000000##FFFFFF
##674A8D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#3E588B
Tritanopia (blue-blind)
#605665
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #674a8d;
/* rgb */ color: rgb(103, 74, 141);
/* oklch */ color: oklch(47.0% 0.109 302.4);
Tailwind
colors: {
  custom: {
    50: '#947dae',
    500: '#674a8d',
    950: '#000000',
  },
}
SCSS
$custom: #674a8d;
$custom-light: #947dae;
$custom-dark: #000000;
JSON
{
  "hex": "#674a8d",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 265.97,
    "s": 31.163,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.10877,
    "h": 302.4
  },
  "luminance": 0.09704
}

Semantic roles & 50–950 ramp

primary
#674A8D
secondary
#9CB083
accent
#C7609B
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #674A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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