#674CB4#674CB4

#674CB4 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.9% C 0.158 H 291.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#674CB4
RGBrgb(103, 76, 180)
HSLhsl(256, 41%, 50%)
HSVhsv(256, 58%, 71%)
CMYKcmyk(42.8%, 57.8%, 0%, 29.4%)
CIE-LABlab(40.16, 36.37, -51.59)
CIE-LCHlch(40.16, 63.12, 305.18°)
OKLaboklab(49.94% 0.0582 -0.1469)
OKLCHoklch(49.94% 0.158 291.6)
XYZxyz(16.4139, 11.3472, 44.4966)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CB4 #99B44C
analogous
#4C65B4 #674CB4 #9B4CB4
triadic
#674CB4 #B4674C #4CB467
tetradic
#674CB4 #B44C65 #99B44C #4CB49B
square
#674CB4 #B44C65 #99B44C #4CB49B
split-complementary
#674CB4 #B49B4C #65B44C
monochromatic
#36275E #4E3A89 #674CB4 #8C77C6 #B0A2D8

Accessibility & contrast

On white

6.42
#674CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#674CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CB4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CB4#FFFFFF#000000##FFFFFF
##674CB41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B60B7
Deuteranopia (green-blind)
#165CB2
Tritanopia (blue-blind)
#516378
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #674cb4;
/* rgb */ color: rgb(103, 76, 180);
/* oklch */ color: oklch(49.9% 0.158 291.6);
Tailwind
colors: {
  custom: {
    50: '#977fcb',
    500: '#674cb4',
    950: '#000000',
  },
}
SCSS
$custom: #674cb4;
$custom-light: #977fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#674cb4",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 255.577,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.15802,
    "h": 291.6
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#674CB4
secondary
#B9C597
accent
#D157B1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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