#674EB2#674EB2

#674EB2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.152 H 291.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#674EB2
RGBrgb(103, 78, 178)
HSLhsl(255, 39%, 50%)
HSVhsv(255, 56%, 70%)
CMYKcmyk(42.1%, 56.2%, 0%, 30.2%)
CIE-LABlab(40.49, 34.61, -49.89)
CIE-LCHlch(40.49, 60.72, 304.75°)
OKLaboklab(50.13% 0.0557 -0.1419)
OKLCHoklch(50.13% 0.152 291.4)
XYZxyz(16.3516, 11.5462, 43.4780)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EB2 #99B24E
analogous
#4E67B2 #674EB2 #994EB2
triadic
#674EB2 #B2674E #4EB267
tetradic
#674EB2 #B24E67 #99B24E #4EB299
square
#674EB2 #B24E67 #99B24E #4EB299
split-complementary
#674EB2 #B2994E #67B24E
monochromatic
#36295D #4E3B88 #674EB2 #8C79C5 #B0A3D7

Accessibility & contrast

On white

6.35
#674EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#674EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EB2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EB2#FFFFFF#000000##FFFFFF
##674EB21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#1F5DB0
Tritanopia (blue-blind)
#526378
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #674eb2;
/* rgb */ color: rgb(103, 78, 178);
/* oklch */ color: oklch(50.1% 0.152 291.4);
Tailwind
colors: {
  custom: {
    50: '#9780ca',
    500: '#674eb2',
    950: '#000000',
  },
}
SCSS
$custom: #674eb2;
$custom-light: #9780ca;
$custom-dark: #000000;
JSON
{
  "hex": "#674eb2",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 255,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50133,
    "c": 0.15246,
    "h": 291.4
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#674EB2
secondary
#B9C498
accent
#CF59B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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