#674B8A#674B8A

#674B8A is a mid, moderate violet. Relative luminance 0.098; OKLCH L 47.1% C 0.103 H 303.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#674B8A
RGBrgb(103, 75, 138)
HSLhsl(267, 30%, 42%)
HSVhsv(267, 46%, 54%)
CMYKcmyk(25.4%, 45.7%, 0%, 45.9%)
CIE-LABlab(37.39, 25.46, -30.83)
CIE-LCHlch(37.39, 39.98, 309.55°)
OKLaboklab(47.06% 0.0563 -0.0861)
OKLCHoklch(47.06% 0.103 303.2)
XYZxyz(12.6960, 9.7507, 25.2530)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674B8A #6E8A4B
analogous
#4B4F8A #674B8A #874B8A
triadic
#674B8A #8A674B #4B8A67
tetradic
#674B8A #8A4B4F #6E8A4B #4B8A87
square
#674B8A #8A4B4F #6E8A4B #4B8A87
split-complementary
#674B8A #8A874B #4F8A4B
monochromatic
#2C203B #493562 #674B8A #8566AC #A58EC2

Accessibility & contrast

On white

7.12
#674B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#674B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674B8A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674B8A#FFFFFF#000000##FFFFFF
##674B8A1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578C
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#615664
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #674b8a;
/* rgb */ color: rgb(103, 75, 138);
/* oklch */ color: oklch(47.1% 0.103 303.2);
Tailwind
colors: {
  custom: {
    50: '#947eac',
    500: '#674b8a',
    950: '#000000',
  },
}
SCSS
$custom: #674b8a;
$custom-light: #947eac;
$custom-dark: #000000;
JSON
{
  "hex": "#674b8a",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 266.667,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.1029,
    "h": 303.2
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#674B8A
secondary
#9BAE83
accent
#C66299
background
#F9F7FA
surface
#F1EEF4
border
#CBC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #674B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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