#674AB2#674AB2

#674AB2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.5% C 0.158 H 292.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#674AB2
RGBrgb(103, 74, 178)
HSLhsl(257, 41%, 49%)
HSVhsv(257, 58%, 70%)
CMYKcmyk(42.1%, 58.4%, 0%, 30.2%)
CIE-LABlab(39.57, 36.98, -51.36)
CIE-LCHlch(39.57, 63.29, 305.75°)
OKLaboklab(49.46% 0.0606 -0.1462)
OKLCHoklch(49.46% 0.158 292.5)
XYZxyz(16.0760, 10.9950, 43.3861)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AB2 #95B24A
analogous
#4A61B2 #674AB2 #9B4AB2
triadic
#674AB2 #B2674A #4AB267
tetradic
#674AB2 #B24A61 #95B24A #4AB29B
square
#674AB2 #B24A61 #95B24A #4AB29B
split-complementary
#674AB2 #B29B4A #61B24A
monochromatic
#35265C #4E3887 #674AB2 #8B74C5 #AF9FD7

Accessibility & contrast

On white

6.56
#674AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#674AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AB2
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AB2#FFFFFF#000000##FFFFFF
##674AB21.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055FB5
Deuteranopia (green-blind)
#155BB0
Tritanopia (blue-blind)
#536177
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #674ab2;
/* rgb */ color: rgb(103, 74, 178);
/* oklch */ color: oklch(49.5% 0.158 292.5);
Tailwind
colors: {
  custom: {
    50: '#977dca',
    500: '#674ab2',
    950: '#000000',
  },
}
SCSS
$custom: #674ab2;
$custom-light: #977dca;
$custom-dark: #000000;
JSON
{
  "hex": "#674ab2",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 256.731,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4946,
    "c": 0.15829,
    "h": 292.5
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#674AB2
secondary
#B7C494
accent
#D157AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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