#674CB2#674CB2

#674CB2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.155 H 292.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#674CB2
RGBrgb(103, 76, 178)
HSLhsl(256, 40%, 50%)
HSVhsv(256, 57%, 70%)
CMYKcmyk(42.1%, 57.3%, 0%, 30.2%)
CIE-LABlab(40.03, 35.80, -50.63)
CIE-LCHlch(40.03, 62.01, 305.27°)
OKLaboklab(49.79% 0.0582 -0.1441)
OKLCHoklch(49.79% 0.155 292)
XYZxyz(16.2117, 11.2663, 43.4313)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CB2 #97B24C
analogous
#4C64B2 #674CB2 #9A4CB2
triadic
#674CB2 #B2674C #4CB267
tetradic
#674CB2 #B24C64 #97B24C #4CB29A
square
#674CB2 #B24C64 #97B24C #4CB29A
split-complementary
#674CB2 #B29A4C #64B24C
monochromatic
#35275C #4E3A87 #674CB2 #8B76C5 #B0A1D7

Accessibility & contrast

On white

6.45
#674CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674CB2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CB2#FFFFFF#000000##FFFFFF
##674CB21.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B5
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#526277
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674cb2;
/* rgb */ color: rgb(103, 76, 178);
/* oklch */ color: oklch(49.8% 0.155 292.0);
Tailwind
colors: {
  custom: {
    50: '#977fca',
    500: '#674cb2',
    950: '#000000',
  },
}
SCSS
$custom: #674cb2;
$custom-light: #977fca;
$custom-dark: #000000;
JSON
{
  "hex": "#674cb2",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 255.882,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.15539,
    "h": 292
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #674CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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