#674A95#674A95

#674A95 is a mid, moderate violet. Relative luminance 0.100; OKLCH L 47.5% C 0.120 H 299.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#674A95
RGBrgb(103, 74, 149)
HSLhsl(263, 34%, 44%)
HSVhsv(263, 50%, 58%)
CMYKcmyk(30.9%, 50.3%, 0%, 41.6%)
CIE-LABlab(37.75, 28.96, -36.94)
CIE-LCHlch(37.75, 46.94, 308.09°)
OKLaboklab(47.53% 0.0593 -0.1039)
OKLCHoklch(47.53% 0.12 299.7)
XYZxyz(13.4658, 9.9510, 29.6392)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674A95 #78954A
analogous
#4A5295 #674A95 #8C4A95
triadic
#674A95 #95674A #4A9567
tetradic
#674A95 #954A52 #78954A #4A958C
square
#674A95 #954A52 #78954A #4A958C
split-complementary
#674A95 #958C4A #52954A
monochromatic
#2E2143 #4B366C #674A95 #8568B4 #A691C8

Accessibility & contrast

On white

7.02
#674A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#674A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674A95
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674A95#FFFFFF#000000##FFFFFF
##674A951.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315998
Deuteranopia (green-blind)
#395893
Tritanopia (blue-blind)
#5E5868
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #674a95;
/* rgb */ color: rgb(103, 74, 149);
/* oklch */ color: oklch(47.5% 0.120 299.7);
Tailwind
colors: {
  custom: {
    50: '#957db4',
    500: '#674a95',
    950: '#000000',
  },
}
SCSS
$custom: #674a95;
$custom-light: #957db4;
$custom-dark: #000000;
JSON
{
  "hex": "#674a95",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 263.2,
    "s": 33.632,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4753,
    "c": 0.11966,
    "h": 299.7
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#674A95
secondary
#A3B486
accent
#CA5EA0
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0911
muted
#7E7B80

Preview Lab

Preview with #674A95

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

Preview Lab → · Contrast checker → · Palette generator →

#674A95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva