#674EA5#674EA5

#674EA5 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.135 H 294.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#674EA5
RGBrgb(103, 78, 165)
HSLhsl(257, 36%, 48%)
HSVhsv(257, 53%, 65%)
CMYKcmyk(37.6%, 52.7%, 0%, 35.3%)
CIE-LABlab(39.66, 30.92, -43.50)
CIE-LCHlch(39.66, 53.37, 305.41°)
OKLaboklab(49.26% 0.0552 -0.1232)
OKLCHoklch(49.26% 0.135 294.1)
XYZxyz(15.1077, 11.0486, 36.9266)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EA5 #8CA54E
analogous
#4E61A5 #674EA5 #924EA5
triadic
#674EA5 #A5674E #4EA567
tetradic
#674EA5 #A54E61 #8CA54E #4EA592
square
#674EA5 #A54E61 #8CA54E #4EA592
split-complementary
#674EA5 #A5924E #61A54E
monochromatic
#332752 #4D3A7B #674EA5 #8873BD #AC9DD1

Accessibility & contrast

On white

6.54
#674EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#674EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EA5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EA5#FFFFFF#000000##FFFFFF
##674EA51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA8
Deuteranopia (green-blind)
#305CA3
Tritanopia (blue-blind)
#586072
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #674ea5;
/* rgb */ color: rgb(103, 78, 165);
/* oklch */ color: oklch(49.3% 0.135 294.1);
Tailwind
colors: {
  custom: {
    50: '#9680c0',
    500: '#674ea5',
    950: '#000000',
  },
}
SCSS
$custom: #674ea5;
$custom-light: #9680c0;
$custom-dark: #000000;
JSON
{
  "hex": "#674ea5",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 257.241,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.13496,
    "h": 294.1
  },
  "luminance": 0.11049
}

Semantic roles & 50–950 ramp

primary
#674EA5
secondary
#B1BD91
accent
#CC5CAC
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #674EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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