#674095#674095

#674095 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.8% C 0.136 H 302.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#674095
RGBrgb(103, 64, 149)
HSLhsl(268, 40%, 42%)
HSVhsv(268, 57%, 58%)
CMYKcmyk(30.9%, 57%, 0%, 41.6%)
CIE-LABlab(35.44, 34.90, -40.63)
CIE-LCHlch(35.44, 53.56, 310.66°)
OKLaboklab(45.82% 0.0732 -0.1147)
OKLCHoklch(45.82% 0.136 302.5)
XYZxyz(12.8505, 8.7203, 29.4341)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674095 #6E9540
analogous
#404495 #674095 #924095
triadic
#674095 #956740 #409567
tetradic
#674095 #954044 #6E9540 #409592
square
#674095 #954044 #6E9540 #409592
split-complementary
#674095 #959240 #449540
monochromatic
#2C1B3F #492E6A #674095 #855AB8 #A585CB

Accessibility & contrast

On white

7.65
#674095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #674095
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674095#FFFFFF#000000##FFFFFF
##6740951.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#2C5393
Tritanopia (blue-blind)
#5E5164
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #674095;
/* rgb */ color: rgb(103, 64, 149);
/* oklch */ color: oklch(45.8% 0.136 302.5);
Tailwind
colors: {
  custom: {
    50: '#9576b5',
    500: '#674095',
    950: '#000000',
  },
}
SCSS
$custom: #674095;
$custom-light: #9576b5;
$custom-dark: #000000;
JSON
{
  "hex": "#674095",
  "rgb": {
    "r": 103,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 267.529,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45816,
    "c": 0.13609,
    "h": 302.5
  },
  "luminance": 0.0872
}

Semantic roles & 50–950 ramp

primary
#674095
secondary
#9BB57C
accent
#D05899
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #674095

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

Preview Lab → · Contrast checker → · Palette generator →

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