#674399#674399

#674399 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.6% C 0.136 H 300.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#674399
RGBrgb(103, 67, 153)
HSLhsl(265, 39%, 43%)
HSVhsv(265, 56%, 60%)
CMYKcmyk(32.7%, 56.2%, 0%, 40%)
CIE-LABlab(36.36, 34.20, -41.58)
CIE-LCHlch(36.36, 53.84, 309.44°)
OKLaboklab(46.58% 0.0693 -0.1175)
OKLCHoklch(46.58% 0.136 300.5)
XYZxyz(13.3491, 9.1977, 31.2029)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674399 #759943
analogous
#434A99 #674399 #924399
triadic
#674399 #996743 #439967
tetradic
#674399 #99434A #759943 #439992
square
#674399 #99434A #759943 #439992
split-complementary
#674399 #999243 #4A9943
monochromatic
#2E1E44 #4A306E #674399 #8560B9 #A68ACC

Accessibility & contrast

On white

7.40
#674399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#674399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674399
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674399#FFFFFF#000000##FFFFFF
##6743991.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#2C5597
Tritanopia (blue-blind)
#5D5467
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #674399;
/* rgb */ color: rgb(103, 67, 153);
/* oklch */ color: oklch(46.6% 0.136 300.5);
Tailwind
colors: {
  custom: {
    50: '#9578b7',
    500: '#674399',
    950: '#000000',
  },
}
SCSS
$custom: #674399;
$custom-light: #9578b7;
$custom-dark: #000000;
JSON
{
  "hex": "#674399",
  "rgb": {
    "r": 103,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 265.116,
    "s": 39.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.13642,
    "h": 300.5
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#674399
secondary
#A0B781
accent
#CF599E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #674399

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

Preview Lab → · Contrast checker → · Palette generator →

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