#3314A1#3314A1

#3314A1 is a dark, highly saturated violet. Relative luminance 0.038; OKLCH L 35.9% C 0.201 H 279.3°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#3314A1
RGBrgb(51, 20, 161)
HSLhsl(253, 78%, 35%)
HSVhsv(253, 88%, 63%)
CMYKcmyk(68.3%, 87.6%, 0%, 36.9%)
CIE-LABlab(22.92, 51.79, -68.61)
CIE-LCHlch(22.92, 85.96, 307.05°)
OKLaboklab(35.93% 0.0323 -0.198)
OKLCHoklch(35.93% 0.201 279.3)
XYZxyz(8.0464, 3.7766, 34.0162)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3314A1 #82A114
analogous
#143CA1 #3314A1 #7914A1
triadic
#3314A1 #A13314 #14A133
tetradic
#3314A1 #A1143C #82A114 #14A179
square
#3314A1 #A1143C #82A114 #14A179
split-complementary
#3314A1 #A17914 #3CA114
monochromatic
#110634 #220D6B #3314A1 #441BD7 #6B47E8

Accessibility & contrast

On white

11.96
#3314A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3314A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3314A1
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3314A1#FFFFFF#000000##FFFFFF
##3314A11.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3314a1;
/* rgb */ color: rgb(51, 20, 161);
/* oklch */ color: oklch(35.9% 0.201 279.3);
Tailwind
colors: {
  custom: {
    50: '#7c5abe',
    500: '#3314a1',
    950: '#000000',
  },
}
SCSS
$custom: #3314a1;
$custom-light: #7c5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3314a1",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 161
  },
  "hsl": {
    "h": 253.191,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3593,
    "c": 0.20066,
    "h": 279.3
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#3314A1
secondary
#ADC948
accent
#F433CA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3314A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3314A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva