#674AAA#674AAA

#674AAA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.9% C 0.148 H 294.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#674AAA
RGBrgb(103, 74, 170)
HSLhsl(258, 39%, 48%)
HSVhsv(258, 56%, 67%)
CMYKcmyk(39.4%, 56.5%, 0%, 33.3%)
CIE-LABlab(39.04, 34.72, -47.47)
CIE-LCHlch(39.04, 58.82, 306.18°)
OKLaboklab(48.9% 0.0606 -0.1348)
OKLCHoklch(48.9% 0.148 294.2)
XYZxyz(15.2961, 10.6831, 39.2786)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AAA #8DAA4A
analogous
#4A5DAA #674AAA #974AAA
triadic
#674AAA #AA674A #4AAA67
tetradic
#674AAA #AA4A5D #8DAA4A #4AAA97
square
#674AAA #AA4A5D #8DAA4A #4AAA97
split-complementary
#674AAA #AA974A #5DAA4A
monochromatic
#332555 #4D377F #674AAA #8970C1 #AC9BD3

Accessibility & contrast

On white

6.70
#674AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#674AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674AAA
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AAA#FFFFFF#000000##FFFFFF
##674AAA1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAD
Deuteranopia (green-blind)
#235AA8
Tritanopia (blue-blind)
#565E73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #674aaa;
/* rgb */ color: rgb(103, 74, 170);
/* oklch */ color: oklch(48.9% 0.148 294.2);
Tailwind
colors: {
  custom: {
    50: '#967dc4',
    500: '#674aaa',
    950: '#000000',
  },
}
SCSS
$custom: #674aaa;
$custom-light: #967dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#674aaa",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 258.125,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.489,
    "c": 0.14781,
    "h": 294.2
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#674AAA
secondary
#B1C090
accent
#CF59AB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #674AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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