#674DC4#674DC4

#674DC4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.177 H 288.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#674DC4
RGBrgb(103, 77, 196)
HSLhsl(253, 50%, 54%)
HSVhsv(253, 61%, 77%)
CMYKcmyk(47.4%, 60.7%, 0%, 23.1%)
CIE-LABlab(41.49, 40.41, -58.79)
CIE-LCHlch(41.49, 71.34, 304.50°)
OKLaboklab(51.27% 0.0566 -0.1681)
OKLCHoklch(51.27% 0.177 288.6)
XYZxyz(18.2083, 12.1761, 53.6047)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DC4 #AAC44D
analogous
#4D6EC4 #674DC4 #A24DC4
triadic
#674DC4 #C4674D #4DC467
tetradic
#674DC4 #C44D6E #AAC44D #4DC4A2
square
#674DC4 #C44D6E #AAC44D #4DC4A2
split-complementary
#674DC4 #C4A24D #6EC44D
monochromatic
#362571 #4C359F #674DC4 #8E7BD3 #B5A9E2

Accessibility & contrast

On white

6.11
#674DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#674DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DC4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DC4#FFFFFF#000000##FFFFFF
##674DC41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#496981
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674dc4;
/* rgb */ color: rgb(103, 77, 196);
/* oklch */ color: oklch(51.3% 0.177 288.6);
Tailwind
colors: {
  custom: {
    50: '#9980d7',
    500: '#674dc4',
    950: '#000000',
  },
}
SCSS
$custom: #674dc4;
$custom-light: #9980d7;
$custom-dark: #000000;
JSON
{
  "hex": "#674dc4",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 253.109,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51268,
    "c": 0.17737,
    "h": 288.6
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#674DC4
secondary
#C5D09D
accent
#DA4EBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #674DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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