#674495#674495

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

Color values

HEX#674495
RGBrgb(103, 68, 149)
HSLhsl(266, 37%, 43%)
HSVhsv(266, 54%, 58%)
CMYKcmyk(30.9%, 54.4%, 0%, 41.6%)
CIE-LABlab(36.34, 32.55, -39.19)
CIE-LCHlch(36.34, 50.94, 309.72°)
OKLaboklab(46.48% 0.0677 -0.1105)
OKLCHoklch(46.48% 0.13 301.5)
XYZxyz(13.0842, 9.1877, 29.5120)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674495 #729544
analogous
#444A95 #674495 #8F4495
triadic
#674495 #956744 #449567
tetradic
#674495 #95444A #729544 #44958F
square
#674495 #95444A #729544 #44958F
split-complementary
#674495 #958F44 #4A9544
monochromatic
#2D1E41 #4A316B #674495 #8560B6 #A58ACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674495#FFFFFF#000000##FFFFFF
##6744951.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)
#275598
Deuteranopia (green-blind)
#315593
Tritanopia (blue-blind)
#5E5366
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #674495;
/* rgb */ color: rgb(103, 68, 149);
/* oklch */ color: oklch(46.5% 0.130 301.5);
Tailwind
colors: {
  custom: {
    50: '#9579b4',
    500: '#674495',
    950: '#000000',
  },
}
SCSS
$custom: #674495;
$custom-light: #9579b4;
$custom-dark: #000000;
JSON
{
  "hex": "#674495",
  "rgb": {
    "r": 103,
    "g": 68,
    "b": 149
  },
  "hsl": {
    "h": 265.926,
    "s": 37.327,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.1296,
    "h": 301.5
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#674495
secondary
#9EB580
accent
#CD5B9C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #674495

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

Preview Lab → · Contrast checker → · Palette generator →

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