#672FB2#672FB2

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

Color values

HEX#672FB2
RGBrgb(103, 47, 178)
HSLhsl(266, 58%, 44%)
HSVhsv(266, 74%, 70%)
CMYKcmyk(42.1%, 73.6%, 0%, 30.2%)
CIE-LABlab(34.25, 51.44, -59.99)
CIE-LCHlch(34.25, 79.02, 310.61°)
OKLaboklab(45.63% 0.0897 -0.1715)
OKLCHoklch(45.63% 0.194 297.6)
XYZxyz(14.6438, 8.1307, 42.9087)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672FB2 #7AB22F
analogous
#2F39B2 #672FB2 #A92FB2
triadic
#672FB2 #B2672F #2FB267
tetradic
#672FB2 #B22F39 #7AB22F #2FB2A9
square
#672FB2 #B22F39 #7AB22F #2FB2A9
split-complementary
#672FB2 #B2A92F #39B22F
monochromatic
#2F1551 #4B2282 #672FB2 #864ED0 #A77EDD

Accessibility & contrast

On white

8.00
#672FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#672FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672FB2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672FB2#FFFFFF#000000##FFFFFF
##672FB21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#54516E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #672fb2;
/* rgb */ color: rgb(103, 47, 178);
/* oklch */ color: oklch(45.6% 0.194 297.6);
Tailwind
colors: {
  custom: {
    50: '#996dca',
    500: '#672fb2',
    950: '#000000',
  },
}
SCSS
$custom: #672fb2;
$custom-light: #996dca;
$custom-dark: #000000;
JSON
{
  "hex": "#672fb2",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 265.649,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.19358,
    "h": 297.6
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#672FB2
secondary
#A4C677
accent
#E1469F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #672FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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