#674DBB#674DBB

#674DBB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.166 H 290.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#674DBB
RGBrgb(103, 77, 187)
HSLhsl(254, 45%, 52%)
HSVhsv(254, 59%, 73%)
CMYKcmyk(44.9%, 58.8%, 0%, 26.7%)
CIE-LABlab(40.86, 37.80, -54.57)
CIE-LCHlch(40.86, 66.38, 304.71°)
OKLaboklab(50.6% 0.0569 -0.1557)
OKLCHoklch(50.6% 0.166 290.1)
XYZxyz(17.2145, 11.7786, 48.3705)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DBB #A1BB4D
analogous
#4D6ABB #674DBB #9E4DBB
triadic
#674DBB #BB674D #4DBB67
tetradic
#674DBB #BB4D6A #A1BB4D #4DBB9E
square
#674DBB #BB4D6A #A1BB4D #4DBB9E
split-complementary
#674DBB #BB9E4D #6ABB4D
monochromatic
#362766 #4D3893 #674DBB #8D79CC #B3A6DD

Accessibility & contrast

On white

6.26
#674DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#674DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DBB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DBB#FFFFFF#000000##FFFFFF
##674DBB1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#015EB9
Tritanopia (blue-blind)
#4E667C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #674dbb;
/* rgb */ color: rgb(103, 77, 187);
/* oklch */ color: oklch(50.6% 0.166 290.1);
Tailwind
colors: {
  custom: {
    50: '#9880d0',
    500: '#674dbb',
    950: '#000000',
  },
}
SCSS
$custom: #674dbb;
$custom-light: #9880d0;
$custom-dark: #000000;
JSON
{
  "hex": "#674dbb",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 254.182,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50604,
    "c": 0.16574,
    "h": 290.1
  },
  "luminance": 0.11779
}

Semantic roles & 50–950 ramp

primary
#674DBB
secondary
#BFCA9A
accent
#D453B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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