#7331C0#7331C0

#7331C0 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.208 H 299.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7331C0
RGBrgb(115, 49, 192)
HSLhsl(268, 59%, 47%)
HSVhsv(268, 74%, 75%)
CMYKcmyk(40.1%, 74.5%, 0%, 24.7%)
CIE-LABlab(37.20, 56.11, -63.38)
CIE-LCHlch(37.20, 84.65, 311.52°)
OKLaboklab(48.39% 0.1021 -0.1811)
OKLCHoklch(48.39% 0.208 299.4)
XYZxyz(17.6806, 9.6470, 50.7895)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331C0 #7EC031
analogous
#3137C0 #7331C0 #BA31C0
triadic
#7331C0 #C07331 #31C073
tetradic
#7331C0 #C03137 #7EC031 #31C0BA
square
#7331C0 #C03137 #7EC031 #31C0BA
split-complementary
#7331C0 #C0BA31 #37C031
monochromatic
#39185E #56258F #7331C0 #9259D5 #B28AE1

Accessibility & contrast

On white

7.17
#7331C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7331C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7331C0
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331C0#FFFFFF#000000##FFFFFF
##7331C01.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#615676
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7331c0;
/* rgb */ color: rgb(115, 49, 192);
/* oklch */ color: oklch(48.4% 0.208 299.4);
Tailwind
colors: {
  custom: {
    50: '#a270d4',
    500: '#7331c0',
    950: '#000000',
  },
}
SCSS
$custom: #7331c0;
$custom-light: #a270d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7331c0",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 267.692,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48387,
    "c": 0.2079,
    "h": 299.4
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#7331C0
secondary
#A9CB82
accent
#E3459A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7331C0

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

Preview Lab → · Contrast checker → · Palette generator →

#7331C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva