#3319A7#3319A7

#3319A7 is a dark, highly saturated violet. Relative luminance 0.042; OKLCH L 37.1% C 0.204 H 278.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#3319A7
RGBrgb(51, 25, 167)
HSLhsl(251, 74%, 38%)
HSVhsv(251, 85%, 65%)
CMYKcmyk(69.5%, 85%, 0%, 34.5%)
CIE-LABlab(24.28, 51.57, -69.99)
CIE-LCHlch(24.28, 86.94, 306.39°)
OKLaboklab(37.07% 0.0285 -0.2021)
OKLCHoklch(37.07% 0.204 278)
XYZxyz(8.6857, 4.1883, 36.9024)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3319A7 #8DA719
analogous
#1946A7 #3319A7 #7A19A7
triadic
#3319A7 #A73319 #19A733
tetradic
#3319A7 #A71946 #8DA719 #19A77A
square
#3319A7 #A71946 #8DA719 #19A77A
split-complementary
#3319A7 #A77A19 #46A719
monochromatic
#12093D #231172 #3319A7 #4321DC #6F55E6

Accessibility & contrast

On white

11.43
#3319A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3319A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3319A7
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3319A7#FFFFFF#000000##FFFFFF
##3319A71.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3319a7;
/* rgb */ color: rgb(51, 25, 167);
/* oklch */ color: oklch(37.1% 0.204 278.0);
Tailwind
colors: {
  custom: {
    50: '#7d5cc3',
    500: '#3319a7',
    950: '#000000',
  },
}
SCSS
$custom: #3319a7;
$custom-light: #7d5cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3319a7",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 167
  },
  "hsl": {
    "h": 250.986,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3707,
    "c": 0.20413,
    "h": 278
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#3319A7
secondary
#B3C853
accent
#F137CF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #3319A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3319A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva