#674297#674297

#674297 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.3% C 0.135 H 301.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#674297
RGBrgb(103, 66, 151)
HSLhsl(266, 39%, 43%)
HSVhsv(266, 56%, 59%)
CMYKcmyk(31.8%, 56.3%, 0%, 40.8%)
CIE-LABlab(36.01, 34.26, -40.93)
CIE-LCHlch(36.01, 53.37, 309.93°)
OKLaboklab(46.28% 0.0706 -0.1156)
OKLCHoklch(46.28% 0.135 301.4)
XYZxyz(13.1263, 9.0143, 30.3206)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674297 #729742
analogous
#424797 #674297 #924297
triadic
#674297 #976742 #429767
tetradic
#674297 #974247 #729742 #429792
square
#674297 #974247 #729742 #429792
split-complementary
#674297 #979242 #479742
monochromatic
#2D1D42 #4A2F6C #674297 #855EB8 #A588CB

Accessibility & contrast

On white

7.49
#674297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#674297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #674297
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674297#FFFFFF#000000##FFFFFF
##6742971.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#2D5495
Tritanopia (blue-blind)
#5E5366
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #674297;
/* rgb */ color: rgb(103, 66, 151);
/* oklch */ color: oklch(46.3% 0.135 301.4);
Tailwind
colors: {
  custom: {
    50: '#9578b6',
    500: '#674297',
    950: '#000000',
  },
}
SCSS
$custom: #674297;
$custom-light: #9578b6;
$custom-dark: #000000;
JSON
{
  "hex": "#674297",
  "rgb": {
    "r": 103,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 266.118,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46277,
    "c": 0.13544,
    "h": 301.4
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#674297
secondary
#9EB67F
accent
#CF599C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #674297

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

Preview Lab → · Contrast checker → · Palette generator →

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