#674EB4#674EB4

#674EB4 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.155 H 291.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#674EB4
RGBrgb(103, 78, 180)
HSLhsl(255, 40%, 51%)
HSVhsv(255, 57%, 71%)
CMYKcmyk(42.8%, 56.7%, 0%, 29.4%)
CIE-LABlab(40.62, 35.19, -50.85)
CIE-LCHlch(40.62, 61.84, 304.68°)
OKLaboklab(50.27% 0.0558 -0.1447)
OKLCHoklch(50.27% 0.155 291.1)
XYZxyz(16.5539, 11.6271, 44.5432)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EB4 #9BB44E
analogous
#4E68B4 #674EB4 #9A4EB4
triadic
#674EB4 #B4674E #4EB467
tetradic
#674EB4 #B44E68 #9BB44E #4EB49A
square
#674EB4 #B44E68 #9BB44E #4EB49A
split-complementary
#674EB4 #B49A4E #68B44E
monochromatic
#36285F #4E3B8A #674EB4 #8C79C6 #B1A4D8

Accessibility & contrast

On white

6.31
#674EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#674EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EB4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EB4#FFFFFF#000000##FFFFFF
##674EB41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1561B7
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#516479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674eb4;
/* rgb */ color: rgb(103, 78, 180);
/* oklch */ color: oklch(50.3% 0.155 291.1);
Tailwind
colors: {
  custom: {
    50: '#9780cb',
    500: '#674eb4',
    950: '#000000',
  },
}
SCSS
$custom: #674eb4;
$custom-light: #9780cb;
$custom-dark: #000000;
JSON
{
  "hex": "#674eb4",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 254.706,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50273,
    "c": 0.15512,
    "h": 291.1
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#674EB4
secondary
#BAC698
accent
#D057B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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