#672BB5#672BB5

#672BB5 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.201 H 297.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#672BB5
RGBrgb(103, 43, 181)
HSLhsl(266, 62%, 44%)
HSVhsv(266, 76%, 71%)
CMYKcmyk(43.1%, 76.2%, 0%, 29%)
CIE-LABlab(33.87, 54.00, -62.39)
CIE-LCHlch(33.87, 82.52, 310.88°)
OKLaboklab(45.43% 0.0925 -0.1786)
OKLCHoklch(45.43% 0.201 297.4)
XYZxyz(14.7957, 7.9472, 44.4615)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BB5 #79B52B
analogous
#2B34B5 #672BB5 #AC2BB5
triadic
#672BB5 #B5672B #2BB567
tetradic
#672BB5 #B52B34 #79B52B #2BB5AC
square
#672BB5 #B52B34 #79B52B #2BB5AC
split-complementary
#672BB5 #B5AC2B #34B52B
monochromatic
#2F1452 #4B1F84 #672BB5 #8649D4 #A77BE0

Accessibility & contrast

On white

8.11
#672BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#672BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672BB5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BB5#FFFFFF#000000##FFFFFF
##672BB51.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#53506F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #672bb5;
/* rgb */ color: rgb(103, 43, 181);
/* oklch */ color: oklch(45.4% 0.201 297.4);
Tailwind
colors: {
  custom: {
    50: '#9a6bcc',
    500: '#672bb5',
    950: '#000000',
  },
}
SCSS
$custom: #672bb5;
$custom-light: #9a6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#672bb5",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 266.087,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.20112,
    "h": 297.4
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#672BB5
secondary
#A3C874
accent
#E5439E
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #672BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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