#674CB3#674CB3

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

Color values

HEX#674CB3
RGBrgb(103, 76, 179)
HSLhsl(256, 40%, 50%)
HSVhsv(256, 58%, 70%)
CMYKcmyk(42.5%, 57.5%, 0%, 29.8%)
CIE-LABlab(40.09, 36.09, -51.11)
CIE-LCHlch(40.09, 62.57, 305.22°)
OKLaboklab(49.86% 0.0582 -0.1455)
OKLCHoklch(49.86% 0.157 291.8)
XYZxyz(16.3124, 11.3066, 43.9620)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CB3 #98B34C
analogous
#4C65B3 #674CB3 #9A4CB3
triadic
#674CB3 #B3674C #4CB367
tetradic
#674CB3 #B34C65 #98B34C #4CB39A
square
#674CB3 #B34C65 #98B34C #4CB39A
split-complementary
#674CB3 #B39A4C #65B34C
monochromatic
#36285D #4E3A88 #674CB3 #8B77C5 #B0A2D7

Accessibility & contrast

On white

6.44
#674CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#674CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CB3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CB3#FFFFFF#000000##FFFFFF
##674CB31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E60B6
Deuteranopia (green-blind)
#185CB1
Tritanopia (blue-blind)
#526278
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674cb3;
/* rgb */ color: rgb(103, 76, 179);
/* oklch */ color: oklch(49.9% 0.157 291.8);
Tailwind
colors: {
  custom: {
    50: '#977fca',
    500: '#674cb3',
    950: '#000000',
  },
}
SCSS
$custom: #674cb3;
$custom-light: #977fca;
$custom-dark: #000000;
JSON
{
  "hex": "#674cb3",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 255.728,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.15671,
    "h": 291.8
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #674CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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