#674CB1#674CB1

#674CB1 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.154 H 292.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#674CB1
RGBrgb(103, 76, 177)
HSLhsl(256, 40%, 50%)
HSVhsv(256, 57%, 69%)
CMYKcmyk(41.8%, 57.1%, 0%, 30.6%)
CIE-LABlab(39.96, 35.51, -50.14)
CIE-LCHlch(39.96, 61.45, 305.31°)
OKLaboklab(49.72% 0.0582 -0.1427)
OKLCHoklch(49.72% 0.154 292.2)
XYZxyz(16.1116, 11.2263, 42.9045)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CB1 #96B14C
analogous
#4C63B1 #674CB1 #9A4CB1
triadic
#674CB1 #B1674C #4CB167
tetradic
#674CB1 #B14C63 #96B14C #4CB19A
square
#674CB1 #B14C63 #96B14C #4CB19A
split-complementary
#674CB1 #B19A4C #63B14C
monochromatic
#35275B #4E3A86 #674CB1 #8B76C4 #AFA1D7

Accessibility & contrast

On white

6.47
#674CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#674CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CB1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CB1#FFFFFF#000000##FFFFFF
##674CB11.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1360B4
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#536277
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674cb1;
/* rgb */ color: rgb(103, 76, 177);
/* oklch */ color: oklch(49.7% 0.154 292.2);
Tailwind
colors: {
  custom: {
    50: '#977fc9',
    500: '#674cb1',
    950: '#000000',
  },
}
SCSS
$custom: #674cb1;
$custom-light: #977fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#674cb1",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 256.04,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.15407,
    "h": 292.2
  },
  "luminance": 0.11227
}

Semantic roles & 50–950 ramp

primary
#674CB1
secondary
#B7C395
accent
#D058B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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