#674FBA#674FBA

#674FBA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.162 H 289.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#674FBA
RGBrgb(103, 79, 186)
HSLhsl(253, 44%, 52%)
HSVhsv(253, 58%, 73%)
CMYKcmyk(44.6%, 57.5%, 0%, 27.1%)
CIE-LABlab(41.25, 36.33, -53.36)
CIE-LCHlch(41.25, 64.55, 304.25°)
OKLaboklab(50.87% 0.0546 -0.1521)
OKLCHoklch(50.87% 0.162 289.7)
XYZxyz(17.2499, 12.0201, 47.8561)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674FBA #A2BA4F
analogous
#4F6DBA #674FBA #9D4FBA
triadic
#674FBA #BA674F #4FBA67
tetradic
#674FBA #BA4F6D #A2BA4F #4FBA9D
square
#674FBA #BA4F6D #A2BA4F #4FBA9D
split-complementary
#674FBA #BA9D4F #6DBA4F
monochromatic
#362866 #4D3992 #674FBA #8D7BCB #B3A7DC

Accessibility & contrast

On white

6.17
#674FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#674FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674FBA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674FBA#FFFFFF#000000##FFFFFF
##674FBA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0863BE
Deuteranopia (green-blind)
#105FB8
Tritanopia (blue-blind)
#4E677D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #674fba;
/* rgb */ color: rgb(103, 79, 186);
/* oklch */ color: oklch(50.9% 0.162 289.7);
Tailwind
colors: {
  custom: {
    50: '#9881cf',
    500: '#674fba',
    950: '#000000',
  },
}
SCSS
$custom: #674fba;
$custom-light: #9881cf;
$custom-dark: #000000;
JSON
{
  "hex": "#674fba",
  "rgb": {
    "r": 103,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 253.458,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50866,
    "c": 0.16162,
    "h": 289.7
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#674FBA
secondary
#BFCA9B
accent
#D354B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #674FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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