#674FAF#674FAF

#674FAF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.147 H 291.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#674FAF
RGBrgb(103, 79, 175)
HSLhsl(255, 38%, 50%)
HSVhsv(255, 55%, 69%)
CMYKcmyk(41.1%, 54.9%, 0%, 31.4%)
CIE-LABlab(40.52, 33.16, -48.05)
CIE-LCHlch(40.52, 58.38, 304.60°)
OKLaboklab(50.1% 0.0544 -0.1365)
OKLCHoklch(50.1% 0.147 291.7)
XYZxyz(16.1253, 11.5702, 41.9328)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FAF #97AF4F
analogous
#4F67AF #674FAF #974FAF
triadic
#674FAF #AF674F #4FAF67
tetradic
#674FAF #AF4F67 #97AF4F #4FAF97
square
#674FAF #AF4F67 #97AF4F #4FAF97
split-complementary
#674FAF #AF974F #67AF4F
monochromatic
#35295B #4E3C85 #674FAF #8B79C2 #B0A3D5

Accessibility & contrast

On white

6.34
#674FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674FAF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FAF#FFFFFF#000000##FFFFFF
##674FAF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#546377
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674faf;
/* rgb */ color: rgb(103, 79, 175);
/* oklch */ color: oklch(50.1% 0.147 291.7);
Tailwind
colors: {
  custom: {
    50: '#9781c7',
    500: '#674faf',
    950: '#000000',
  },
}
SCSS
$custom: #674faf;
$custom-light: #9781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#674faf",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 255,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.501,
    "c": 0.14697,
    "h": 291.7
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#674FAF
secondary
#B8C397
accent
#CE5AB1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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