#674498#674498

#674498 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.7% C 0.134 H 300.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#674498
RGBrgb(103, 68, 152)
HSLhsl(265, 38%, 43%)
HSVhsv(265, 55%, 60%)
CMYKcmyk(32.2%, 55.3%, 0%, 40.4%)
CIE-LABlab(36.53, 33.35, -40.71)
CIE-LCHlch(36.53, 52.63, 309.32°)
OKLaboklab(46.68% 0.0679 -0.115)
OKLCHoklch(46.68% 0.134 300.6)
XYZxyz(13.3268, 9.2847, 30.7897)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674498 #759844
analogous
#444B98 #674498 #914498
triadic
#674498 #986744 #449867
tetradic
#674498 #98444B #759844 #449891
square
#674498 #98444B #759844 #449891
split-complementary
#674498 #989144 #4B9844
monochromatic
#2E1E43 #4A316E #674498 #8561B8 #A68BCB

Accessibility & contrast

On white

7.35
#674498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#674498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674498
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674498#FFFFFF#000000##FFFFFF
##6744981.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569B
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#5D5467
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #674498;
/* rgb */ color: rgb(103, 68, 152);
/* oklch */ color: oklch(46.7% 0.134 300.6);
Tailwind
colors: {
  custom: {
    50: '#9579b7',
    500: '#674498',
    950: '#000000',
  },
}
SCSS
$custom: #674498;
$custom-light: #9579b7;
$custom-dark: #000000;
JSON
{
  "hex": "#674498",
  "rgb": {
    "r": 103,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 265,
    "s": 38.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.13351,
    "h": 300.6
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#674498
secondary
#A0B681
accent
#CE5A9E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #674498

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

Preview Lab → · Contrast checker → · Palette generator →

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