#674FC4#674FC4

#674FC4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.175 H 288.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#674FC4
RGBrgb(103, 79, 196)
HSLhsl(252, 50%, 54%)
HSVhsv(252, 60%, 77%)
CMYKcmyk(47.4%, 59.7%, 0%, 23.1%)
CIE-LABlab(41.94, 39.25, -58.08)
CIE-LCHlch(41.94, 70.09, 304.05°)
OKLaboklab(51.59% 0.0544 -0.166)
OKLCHoklch(51.59% 0.175 288.1)
XYZxyz(18.3504, 12.4603, 53.6520)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FC4 #ACC44F
analogous
#4F72C4 #674FC4 #A24FC4
triadic
#674FC4 #C4674F #4FC467
tetradic
#674FC4 #C44F72 #ACC44F #4FC4A2
square
#674FC4 #C44F72 #ACC44F #4FC4A2
split-complementary
#674FC4 #C4A24F #72C44F
monochromatic
#362672 #4C36A0 #674FC4 #8F7DD3 #B6ABE3

Accessibility & contrast

On white

6.01
#674FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#674FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FC4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FC4#FFFFFF#000000##FFFFFF
##674FC41.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#486A82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674fc4;
/* rgb */ color: rgb(103, 79, 196);
/* oklch */ color: oklch(51.6% 0.175 288.1);
Tailwind
colors: {
  custom: {
    50: '#9981d7',
    500: '#674fc4',
    950: '#000000',
  },
}
SCSS
$custom: #674fc4;
$custom-light: #9981d7;
$custom-dark: #000000;
JSON
{
  "hex": "#674fc4",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 196
  },
  "hsl": {
    "h": 252.308,
    "s": 49.787,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51593,
    "c": 0.17466,
    "h": 288.1
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#674FC4
secondary
#C6D09E
accent
#D94EBD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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