#674FAB#674FAB

#674FAB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 49.8% C 0.142 H 292.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#674FAB
RGBrgb(103, 79, 171)
HSLhsl(256, 37%, 49%)
HSVhsv(256, 54%, 67%)
CMYKcmyk(39.8%, 53.8%, 0%, 32.9%)
CIE-LABlab(40.27, 32.01, -46.09)
CIE-LCHlch(40.27, 56.12, 304.78°)
OKLaboklab(49.83% 0.0543 -0.1308)
OKLCHoklch(49.83% 0.142 292.5)
XYZxyz(15.7382, 11.4154, 39.8944)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FAB #93AB4F
analogous
#4F65AB #674FAB #954FAB
triadic
#674FAB #AB674F #4FAB67
tetradic
#674FAB #AB4F65 #93AB4F #4FAB95
square
#674FAB #AB4F65 #93AB4F #4FAB95
split-complementary
#674FAB #AB954F #65AB4F
monochromatic
#352857 #4E3C81 #674FAB #8A77C0 #AEA1D4

Accessibility & contrast

On white

6.40
#674FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#674FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FAB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FAB#FFFFFF#000000##FFFFFF
##674FAB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AE
Deuteranopia (green-blind)
#2B5DA9
Tritanopia (blue-blind)
#556275
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #674fab;
/* rgb */ color: rgb(103, 79, 171);
/* oklch */ color: oklch(49.8% 0.142 292.5);
Tailwind
colors: {
  custom: {
    50: '#9681c4',
    500: '#674fab',
    950: '#000000',
  },
}
SCSS
$custom: #674fab;
$custom-light: #9681c4;
$custom-dark: #000000;
JSON
{
  "hex": "#674fab",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 255.652,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.14157,
    "h": 292.5
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#674FAB
secondary
#B5C195
accent
#CD5BAF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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