#674FA2#674FA2

#674FA2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.2% C 0.129 H 294.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#674FA2
RGBrgb(103, 79, 162)
HSLhsl(257, 34%, 47%)
HSVhsv(257, 51%, 64%)
CMYKcmyk(36.4%, 51.2%, 0%, 36.5%)
CIE-LABlab(39.72, 29.48, -41.62)
CIE-LCHlch(39.72, 51.00, 305.31°)
OKLaboklab(49.24% 0.0536 -0.1176)
OKLCHoklch(49.24% 0.129 294.5)
XYZxyz(14.9094, 11.0839, 35.5293)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FA2 #8AA24F
analogous
#4F61A2 #674FA2 #904FA2
triadic
#674FA2 #A2674F #4FA267
tetradic
#674FA2 #A24F61 #8AA24F #4FA290
square
#674FA2 #A24F61 #8AA24F #4FA290
split-complementary
#674FA2 #A2904F #61A24F
monochromatic
#332750 #4D3B79 #674FA2 #8873BB #AB9CCF

Accessibility & contrast

On white

6.53
#674FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#674FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FA2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FA2#FFFFFF#000000##FFFFFF
##674FA21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#595F71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #674fa2;
/* rgb */ color: rgb(103, 79, 162);
/* oklch */ color: oklch(49.2% 0.129 294.5);
Tailwind
colors: {
  custom: {
    50: '#9581be',
    500: '#674fa2',
    950: '#000000',
  },
}
SCSS
$custom: #674fa2;
$custom-light: #9581be;
$custom-dark: #000000;
JSON
{
  "hex": "#674fa2",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 257.349,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49244,
    "c": 0.12929,
    "h": 294.5
  },
  "luminance": 0.11084
}

Semantic roles & 50–950 ramp

primary
#674FA2
secondary
#AFBC91
accent
#CB5DAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #674FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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