#674CBB#674CBB

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

Color values

HEX#674CBB
RGBrgb(103, 76, 187)
HSLhsl(255, 45%, 52%)
HSVhsv(255, 59%, 73%)
CMYKcmyk(44.9%, 59.4%, 0%, 26.7%)
CIE-LABlab(40.64, 38.38, -54.93)
CIE-LCHlch(40.64, 67.01, 304.95°)
OKLaboklab(50.44% 0.058 -0.1567)
OKLCHoklch(50.44% 0.167 290.3)
XYZxyz(17.1451, 11.6397, 48.3474)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CBB #A0BB4C
analogous
#4C69BB #674CBB #9F4CBB
triadic
#674CBB #BB674C #4CBB67
tetradic
#674CBB #BB4C69 #A0BB4C #4CBB9F
square
#674CBB #BB4C69 #A0BB4C #4CBB9F
split-complementary
#674CBB #BB9F4C #69BB4C
monochromatic
#362766 #4E3892 #674CBB #8D78CC #B2A5DD

Accessibility & contrast

On white

6.31
#674CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#674CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CBB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CBB#FFFFFF#000000##FFFFFF
##674CBB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #674cbb;
/* rgb */ color: rgb(103, 76, 187);
/* oklch */ color: oklch(50.4% 0.167 290.3);
Tailwind
colors: {
  custom: {
    50: '#987fd0',
    500: '#674cbb',
    950: '#000000',
  },
}
SCSS
$custom: #674cbb;
$custom-light: #987fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#674cbb",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 254.595,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.16714,
    "h": 290.3
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#674CBB
secondary
#BECA99
accent
#D553B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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