#674099#674099

#674099 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.141 H 301.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#674099
RGBrgb(103, 64, 153)
HSLhsl(266, 41%, 43%)
HSVhsv(266, 58%, 60%)
CMYKcmyk(32.7%, 58.2%, 0%, 40%)
CIE-LABlab(35.69, 35.95, -42.65)
CIE-LCHlch(35.69, 55.78, 310.13°)
OKLaboklab(46.08% 0.0733 -0.1206)
OKLCHoklch(46.08% 0.141 301.3)
XYZxyz(13.1753, 8.8502, 31.1450)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674099 #729940
analogous
#404699 #674099 #934099
triadic
#674099 #996740 #409967
tetradic
#674099 #994046 #729940 #409993
square
#674099 #994046 #729940 #409993
split-complementary
#674099 #999340 #469940
monochromatic
#2D1C43 #4A2E6E #674099 #855CBB #A587CD

Accessibility & contrast

On white

7.58
#674099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#674099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674099
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674099#FFFFFF#000000##FFFFFF
##6740991.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18539C
Deuteranopia (green-blind)
#285397
Tritanopia (blue-blind)
#5D5266
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #674099;
/* rgb */ color: rgb(103, 64, 153);
/* oklch */ color: oklch(46.1% 0.141 301.3);
Tailwind
colors: {
  custom: {
    50: '#9676b7',
    500: '#674099',
    950: '#000000',
  },
}
SCSS
$custom: #674099;
$custom-light: #9676b7;
$custom-dark: #000000;
JSON
{
  "hex": "#674099",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 266.292,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.14116,
    "h": 301.3
  },
  "luminance": 0.0885
}

Semantic roles & 50–950 ramp

primary
#674099
secondary
#9EB77E
accent
#D1579B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #674099

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

Preview Lab → · Contrast checker → · Palette generator →

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