#674094#674094

#674094 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.7% C 0.135 H 302.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#674094
RGBrgb(103, 64, 148)
HSLhsl(268, 40%, 42%)
HSVhsv(268, 57%, 58%)
CMYKcmyk(30.4%, 56.8%, 0%, 42%)
CIE-LABlab(35.38, 34.64, -40.12)
CIE-LCHlch(35.38, 53.00, 310.81°)
OKLaboklab(45.75% 0.0732 -0.1132)
OKLCHoklch(45.75% 0.135 302.9)
XYZxyz(12.7710, 8.6885, 29.0155)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674094 #6D9440
analogous
#404394 #674094 #914094
triadic
#674094 #946740 #409467
tetradic
#674094 #944043 #6D9440 #409491
square
#674094 #944043 #6D9440 #409491
split-complementary
#674094 #949140 #439440
monochromatic
#2C1B3F #492E69 #674094 #855AB8 #A584CA

Accessibility & contrast

On white

7.67
#674094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#674094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674094
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674094#FFFFFF#000000##FFFFFF
##6740941.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#5F5063
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #674094;
/* rgb */ color: rgb(103, 64, 148);
/* oklch */ color: oklch(45.7% 0.135 302.9);
Tailwind
colors: {
  custom: {
    50: '#9576b4',
    500: '#674094',
    950: '#000000',
  },
}
SCSS
$custom: #674094;
$custom-light: #9576b4;
$custom-dark: #000000;
JSON
{
  "hex": "#674094",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 267.857,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.13482,
    "h": 302.9
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#674094
secondary
#9AB47B
accent
#D05898
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #674094

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

Preview Lab → · Contrast checker → · Palette generator →

#674094 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva