#674397#674397

#674397 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.4% C 0.134 H 301.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#674397
RGBrgb(103, 67, 151)
HSLhsl(266, 39%, 43%)
HSVhsv(266, 56%, 59%)
CMYKcmyk(31.8%, 55.6%, 0%, 40.8%)
CIE-LABlab(36.24, 33.67, -40.57)
CIE-LCHlch(36.24, 52.72, 309.69°)
OKLaboklab(46.44% 0.0692 -0.1145)
OKLCHoklch(46.44% 0.134 301.1)
XYZxyz(13.1853, 9.1322, 30.3402)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674397 #739743
analogous
#434997 #674397 #914397
triadic
#674397 #976743 #439767
tetradic
#674397 #974349 #739743 #439791
square
#674397 #974349 #739743 #439791
split-complementary
#674397 #979143 #499743
monochromatic
#2D1D42 #4A306D #674397 #855FB8 #A68ACB

Accessibility & contrast

On white

7.43
#674397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#674397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674397
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674397#FFFFFF#000000##FFFFFF
##6743971.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#2E5595
Tritanopia (blue-blind)
#5D5366
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #674397;
/* rgb */ color: rgb(103, 67, 151);
/* oklch */ color: oklch(46.4% 0.134 301.1);
Tailwind
colors: {
  custom: {
    50: '#9578b6',
    500: '#674397',
    950: '#000000',
  },
}
SCSS
$custom: #674397;
$custom-light: #9578b6;
$custom-dark: #000000;
JSON
{
  "hex": "#674397",
  "rgb": {
    "r": 103,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 265.714,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.13382,
    "h": 301.1
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#674397
secondary
#9FB680
accent
#CE599C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #674397

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

Preview Lab → · Contrast checker → · Palette generator →

#674397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva