#3319B4#3319B4

#3319B4 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.6% C 0.219 H 276.4°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#3319B4
RGBrgb(51, 25, 180)
HSLhsl(250, 76%, 40%)
HSVhsv(250, 86%, 71%)
CMYKcmyk(71.7%, 86.1%, 0%, 29.4%)
CIE-LABlab(25.84, 55.28, -75.22)
CIE-LCHlch(25.84, 93.35, 306.31°)
OKLaboklab(38.58% 0.0242 -0.2173)
OKLCHoklch(38.58% 0.219 276.4)
XYZxyz(9.9484, 4.6934, 43.5528)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3319B4 #9AB419
analogous
#194CB4 #3319B4 #8119B4
triadic
#3319B4 #B43319 #19B433
tetradic
#3319B4 #B4194C #9AB419 #19B481
square
#3319B4 #B4194C #9AB419 #19B481
split-complementary
#3319B4 #B48119 #4CB419
monochromatic
#150A49 #24127E #3319B4 #4829E1 #765FE9

Accessibility & contrast

On white

10.83
#3319B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3319B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3319B4
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3319B4#FFFFFF#000000##FFFFFF
##3319B41.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3319b4;
/* rgb */ color: rgb(51, 25, 180);
/* oklch */ color: oklch(38.6% 0.219 276.4);
Tailwind
colors: {
  custom: {
    50: '#805ecc',
    500: '#3319b4',
    950: '#000000',
  },
}
SCSS
$custom: #3319b4;
$custom-light: #805ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3319b4",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 250.065,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.21865,
    "h": 276.4
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#3319B4
secondary
#BACD5C
accent
#F236D3
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3319B4

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

Preview Lab → · Contrast checker → · Palette generator →

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