#674EB3#674EB3

#674EB3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.154 H 291.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#674EB3
RGBrgb(103, 78, 179)
HSLhsl(255, 40%, 50%)
HSVhsv(255, 56%, 70%)
CMYKcmyk(42.5%, 56.4%, 0%, 29.8%)
CIE-LABlab(40.55, 34.90, -50.37)
CIE-LCHlch(40.55, 61.28, 304.72°)
OKLaboklab(50.2% 0.0558 -0.1433)
OKLCHoklch(50.2% 0.154 291.3)
XYZxyz(16.4524, 11.5865, 44.0087)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EB3 #9AB34E
analogous
#4E68B3 #674EB3 #994EB3
triadic
#674EB3 #B3674E #4EB367
tetradic
#674EB3 #B34E68 #9AB34E #4EB399
square
#674EB3 #B34E68 #9AB34E #4EB399
split-complementary
#674EB3 #B3994E #68B34E
monochromatic
#36285E #4E3B89 #674EB3 #8C79C5 #B1A4D8

Accessibility & contrast

On white

6.33
#674EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#674EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EB3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EB3#FFFFFF#000000##FFFFFF
##674EB31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#1D5DB1
Tritanopia (blue-blind)
#526479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674eb3;
/* rgb */ color: rgb(103, 78, 179);
/* oklch */ color: oklch(50.2% 0.154 291.3);
Tailwind
colors: {
  custom: {
    50: '#9780ca',
    500: '#674eb3',
    950: '#000000',
  },
}
SCSS
$custom: #674eb3;
$custom-light: #9780ca;
$custom-dark: #000000;
JSON
{
  "hex": "#674eb3",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 254.851,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.15379,
    "h": 291.3
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#674EB3
secondary
#BAC598
accent
#D058B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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