#3319B3#3319B3

#3319B3 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.5% C 0.218 H 276.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3319B3
RGBrgb(51, 25, 179)
HSLhsl(250, 75%, 40%)
HSVhsv(250, 86%, 70%)
CMYKcmyk(71.5%, 86%, 0%, 29.8%)
CIE-LABlab(25.72, 55.00, -74.82)
CIE-LCHlch(25.72, 92.86, 306.32°)
OKLaboklab(38.47% 0.0245 -0.2162)
OKLCHoklch(38.47% 0.218 276.5)
XYZxyz(9.8469, 4.6528, 43.0182)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3319B3 #99B319
analogous
#194CB3 #3319B3 #8019B3
triadic
#3319B3 #B33319 #19B333
tetradic
#3319B3 #B3194C #99B319 #19B380
square
#3319B3 #B3194C #99B319 #19B380
split-complementary
#3319B3 #B38019 #4CB319
monochromatic
#140A48 #24127D #3319B3 #4728E1 #755EE8

Accessibility & contrast

On white

10.88
#3319B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3319B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3319B3
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3319B3#FFFFFF#000000##FFFFFF
##3319B31.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0036B0
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3319b3;
/* rgb */ color: rgb(51, 25, 179);
/* oklch */ color: oklch(38.5% 0.218 276.5);
Tailwind
colors: {
  custom: {
    50: '#805dcb',
    500: '#3319b3',
    950: '#000000',
  },
}
SCSS
$custom: #3319b3;
$custom-light: #805dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3319b3",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 179
  },
  "hsl": {
    "h": 250.13,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.38467,
    "c": 0.21755,
    "h": 276.5
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#3319B3
secondary
#B9CC5B
accent
#F236D2
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3319B3

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

Preview Lab → · Contrast checker → · Palette generator →

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