#674097#674097

#674097 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 45.9% C 0.139 H 301.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#674097
RGBrgb(103, 64, 151)
HSLhsl(267, 40%, 42%)
HSVhsv(267, 58%, 59%)
CMYKcmyk(31.8%, 57.6%, 0%, 40.8%)
CIE-LABlab(35.57, 35.42, -41.64)
CIE-LCHlch(35.57, 54.67, 310.39°)
OKLaboklab(45.95% 0.0732 -0.1177)
OKLCHoklch(45.95% 0.139 301.9)
XYZxyz(13.0115, 8.7847, 30.2823)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674097 #709740
analogous
#404497 #674097 #934097
triadic
#674097 #976740 #409767
tetradic
#674097 #974044 #709740 #409793
square
#674097 #974044 #709740 #409793
split-complementary
#674097 #979340 #449740
monochromatic
#2C1C41 #4A2E6C #674097 #855BB9 #A586CC

Accessibility & contrast

On white

7.62
#674097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#674097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674097
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674097#FFFFFF#000000##FFFFFF
##6740971.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#2A5395
Tritanopia (blue-blind)
#5E5165
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #674097;
/* rgb */ color: rgb(103, 64, 151);
/* oklch */ color: oklch(45.9% 0.139 301.9);
Tailwind
colors: {
  custom: {
    50: '#9576b6',
    500: '#674097',
    950: '#000000',
  },
}
SCSS
$custom: #674097;
$custom-light: #9576b6;
$custom-dark: #000000;
JSON
{
  "hex": "#674097",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 266.897,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.13863,
    "h": 301.9
  },
  "luminance": 0.08785
}

Semantic roles & 50–950 ramp

primary
#674097
secondary
#9CB67D
accent
#D0579A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #674097

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

Preview Lab → · Contrast checker → · Palette generator →

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