#672EB3#672EB3

#672EB3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.196 H 297.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#672EB3
RGBrgb(103, 46, 179)
HSLhsl(266, 59%, 44%)
HSVhsv(266, 74%, 70%)
CMYKcmyk(42.5%, 74.3%, 0%, 29.8%)
CIE-LABlab(34.17, 52.15, -60.71)
CIE-LCHlch(34.17, 80.04, 310.66°)
OKLaboklab(45.59% 0.0904 -0.1737)
OKLCHoklch(45.59% 0.196 297.5)
XYZxyz(14.7051, 8.0920, 43.4262)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EB3 #7AB32E
analogous
#2E38B3 #672EB3 #AA2EB3
triadic
#672EB3 #B3672E #2EB367
tetradic
#672EB3 #B32E38 #7AB32E #2EB3AA
square
#672EB3 #B32E38 #7AB32E #2EB3AA
split-complementary
#672EB3 #B3AA2E #38B32E
monochromatic
#2F1552 #4B2182 #672EB3 #864DD1 #A77EDE

Accessibility & contrast

On white

8.02
#672EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#672EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672EB3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EB3#FFFFFF#000000##FFFFFF
##672EB31.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#54516E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #672eb3;
/* rgb */ color: rgb(103, 46, 179);
/* oklch */ color: oklch(45.6% 0.196 297.5);
Tailwind
colors: {
  custom: {
    50: '#996ccb',
    500: '#672eb3',
    950: '#000000',
  },
}
SCSS
$custom: #672eb3;
$custom-light: #996ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#672eb3",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 265.714,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45594,
    "c": 0.19578,
    "h": 297.5
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#672EB3
secondary
#A4C676
accent
#E2469F
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672EB3

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

Preview Lab → · Contrast checker → · Palette generator →

#672EB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva