#674FAC#674FAC

#674FAC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.9% C 0.143 H 292.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#674FAC
RGBrgb(103, 79, 172)
HSLhsl(255, 37%, 49%)
HSVhsv(255, 54%, 67%)
CMYKcmyk(40.1%, 54.1%, 0%, 32.5%)
CIE-LABlab(40.33, 32.30, -46.59)
CIE-LCHlch(40.33, 56.69, 304.73°)
OKLaboklab(49.9% 0.0543 -0.1322)
OKLCHoklch(49.9% 0.143 292.3)
XYZxyz(15.8339, 11.4537, 40.3983)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FAC #94AC4F
analogous
#4F66AC #674FAC #964FAC
triadic
#674FAC #AC674F #4FAC67
tetradic
#674FAC #AC4F66 #94AC4F #4FAC96
square
#674FAC #AC4F66 #94AC4F #4FAC96
split-complementary
#674FAC #AC964F #66AC4F
monochromatic
#352858 #4E3C82 #674FAC #8A77C1 #AEA1D4

Accessibility & contrast

On white

6.38
#674FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#674FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FAC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FAC#FFFFFF#000000##FFFFFF
##674FAC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#556276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #674fac;
/* rgb */ color: rgb(103, 79, 172);
/* oklch */ color: oklch(49.9% 0.143 292.3);
Tailwind
colors: {
  custom: {
    50: '#9681c5',
    500: '#674fac',
    950: '#000000',
  },
}
SCSS
$custom: #674fac;
$custom-light: #9681c5;
$custom-dark: #000000;
JSON
{
  "hex": "#674fac",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 255.484,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49898,
    "c": 0.14292,
    "h": 292.3
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#674FAC
secondary
#B6C196
accent
#CD5BB0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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