#674CBA#674CBA

#674CBA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.166 H 290.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#674CBA
RGBrgb(103, 76, 186)
HSLhsl(255, 44%, 51%)
HSVhsv(255, 59%, 73%)
CMYKcmyk(44.6%, 59.1%, 0%, 27.1%)
CIE-LABlab(40.57, 38.10, -54.46)
CIE-LCHlch(40.57, 66.46, 304.98°)
OKLaboklab(50.37% 0.0581 -0.1553)
OKLCHoklch(50.37% 0.166 290.5)
XYZxyz(17.0384, 11.5970, 47.7856)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CBA #9FBA4C
analogous
#4C68BA #674CBA #9E4CBA
triadic
#674CBA #BA674C #4CBA67
tetradic
#674CBA #BA4C68 #9FBA4C #4CBA9E
square
#674CBA #BA4C68 #9FBA4C #4CBA9E
split-complementary
#674CBA #BA9E4C #68BA4C
monochromatic
#362765 #4E3891 #674CBA #8D78CB #B2A4DC

Accessibility & contrast

On white

6.33
#674CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#674CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CBA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CBA#FFFFFF#000000##FFFFFF
##674CBA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#4E657C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674cba;
/* rgb */ color: rgb(103, 76, 186);
/* oklch */ color: oklch(50.4% 0.166 290.5);
Tailwind
colors: {
  custom: {
    50: '#987fcf',
    500: '#674cba',
    950: '#000000',
  },
}
SCSS
$custom: #674cba;
$custom-light: #987fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#674cba",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 254.727,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50366,
    "c": 0.16585,
    "h": 290.5
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#674CBA
secondary
#BDC999
accent
#D454B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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