#674B7F#674B7F

#674B7F is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.5% C 0.088 H 308.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#674B7F
RGBrgb(103, 75, 127)
HSLhsl(272, 26%, 40%)
HSVhsv(272, 41%, 50%)
CMYKcmyk(18.9%, 40.9%, 0%, 50.2%)
CIE-LABlab(36.83, 22.68, -24.95)
CIE-LCHlch(36.83, 33.72, 312.27°)
OKLaboklab(46.46% 0.0542 -0.0691)
OKLCHoklch(46.46% 0.088 308.1)
XYZxyz(11.9396, 9.4481, 21.2692)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674B7F #637F4B
analogous
#4D4B7F #674B7F #7F4B7D
triadic
#674B7F #7F674B #4B7F67
tetradic
#674B7F #7F4D4B #637F4B #4B7D7F
square
#674B7F #7F4D4B #637F4B #4B7D7F
split-complementary
#674B7F #7D7F4B #4B7F4D
monochromatic
#291E32 #483459 #674B7F #8664A3 #A48ABA

Accessibility & contrast

On white

7.27
#674B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#674B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674B7F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674B7F#FFFFFF#000000##FFFFFF
##674B7F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405581
Deuteranopia (green-blind)
#46577E
Tritanopia (blue-blind)
#64535F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #674b7f;
/* rgb */ color: rgb(103, 75, 127);
/* oklch */ color: oklch(46.5% 0.088 308.1);
Tailwind
colors: {
  custom: {
    50: '#937da4',
    500: '#674b7f',
    950: '#000000',
  },
}
SCSS
$custom: #674b7f;
$custom-light: #937da4;
$custom-dark: #000000;
JSON
{
  "hex": "#674b7f",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 127
  },
  "hsl": {
    "h": 272.308,
    "s": 25.743,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.08784,
    "h": 308.1
  },
  "luminance": 0.09448
}

Semantic roles & 50–950 ramp

primary
#674B7F
secondary
#91A67F
accent
#C26690
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #674B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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