#674F97#674F97

#674F97 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.6% C 0.114 H 297.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#674F97
RGBrgb(103, 79, 151)
HSLhsl(260, 31%, 45%)
HSVhsv(260, 48%, 59%)
CMYKcmyk(31.8%, 47.7%, 0%, 40.8%)
CIE-LABlab(39.09, 26.45, -36.03)
CIE-LCHlch(39.09, 44.70, 306.28°)
OKLaboklab(48.56% 0.0524 -0.1013)
OKLCHoklch(48.56% 0.114 297.4)
XYZxyz(13.9741, 10.7097, 30.6031)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674F97 #7F974F
analogous
#4F5B97 #674F97 #8B4F97
triadic
#674F97 #97674F #4F9767
tetradic
#674F97 #974F5B #7F974F #4F978B
square
#674F97 #974F5B #7F974F #4F978B
split-complementary
#674F97 #978B4F #5B974F
monochromatic
#302547 #4C3A6F #674F97 #866FB4 #A898C9

Accessibility & contrast

On white

6.68
#674F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#674F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674F97
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674F97#FFFFFF#000000##FFFFFF
##674F971.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#3D5B95
Tritanopia (blue-blind)
#5D5C6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #674f97;
/* rgb */ color: rgb(103, 79, 151);
/* oklch */ color: oklch(48.6% 0.114 297.4);
Tailwind
colors: {
  custom: {
    50: '#9581b6',
    500: '#674f97',
    950: '#000000',
  },
}
SCSS
$custom: #674f97;
$custom-light: #9581b6;
$custom-dark: #000000;
JSON
{
  "hex": "#674f97",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 260,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48564,
    "c": 0.11404,
    "h": 297.4
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#674F97
secondary
#A8B68C
accent
#C760A5
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A11
muted
#7E7C80

Preview Lab

Preview with #674F97

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

Preview Lab → · Contrast checker → · Palette generator →

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