#674EB5#674EB5

#674EB5 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.3% C 0.156 H 290.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#674EB5
RGBrgb(103, 78, 181)
HSLhsl(255, 41%, 51%)
HSVhsv(255, 57%, 71%)
CMYKcmyk(43.1%, 56.9%, 0%, 29%)
CIE-LABlab(40.68, 35.47, -51.34)
CIE-LCHlch(40.68, 62.40, 304.65°)
OKLaboklab(50.34% 0.0558 -0.1462)
OKLCHoklch(50.34% 0.156 290.9)
XYZxyz(16.6561, 11.6680, 45.0817)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EB5 #9CB54E
analogous
#4E68B5 #674EB5 #9A4EB5
triadic
#674EB5 #B5674E #4EB567
tetradic
#674EB5 #B54E68 #9CB54E #4EB59A
square
#674EB5 #B54E68 #9CB54E #4EB59A
split-complementary
#674EB5 #B59A4E #68B54E
monochromatic
#362860 #4E3A8B #674EB5 #8C79C7 #B1A4D9

Accessibility & contrast

On white

6.30
#674EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674EB5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EB5#FFFFFF#000000##FFFFFF
##674EB51.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1262B8
Deuteranopia (green-blind)
#1A5EB3
Tritanopia (blue-blind)
#51647A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674eb5;
/* rgb */ color: rgb(103, 78, 181);
/* oklch */ color: oklch(50.3% 0.156 290.9);
Tailwind
colors: {
  custom: {
    50: '#9780cc',
    500: '#674eb5',
    950: '#000000',
  },
}
SCSS
$custom: #674eb5;
$custom-light: #9780cc;
$custom-dark: #000000;
JSON
{
  "hex": "#674eb5",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 254.563,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50343,
    "c": 0.15645,
    "h": 290.9
  },
  "luminance": 0.11669
}

Semantic roles & 50–950 ramp

primary
#674EB5
secondary
#BBC699
accent
#D157B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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