#3114B4#3114B4

#3114B4 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 38.0% C 0.222 H 275.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3114B4
RGBrgb(49, 20, 180)
HSLhsl(251, 80%, 39%)
HSVhsv(251, 89%, 71%)
CMYKcmyk(72.8%, 88.9%, 0%, 29.4%)
CIE-LABlab(25.10, 56.93, -76.46)
CIE-LCHlch(25.10, 95.32, 306.67°)
OKLaboklab(38.04% 0.0226 -0.2208)
OKLCHoklch(38.04% 0.222 275.8)
XYZxyz(9.7523, 4.4476, 43.5157)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3114B4 #97B414
analogous
#1447B4 #3114B4 #8114B4
triadic
#3114B4 #B43114 #14B431
tetradic
#3114B4 #B41447 #97B414 #14B481
square
#3114B4 #B41447 #97B414 #14B481
split-complementary
#3114B4 #B48114 #47B414
monochromatic
#130846 #220E7D #3114B4 #431FE6 #7156EC

Accessibility & contrast

On white

11.11
#3114B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3114B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3114B4
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3114B4#FFFFFF#000000##FFFFFF
##3114B41.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3114b4;
/* rgb */ color: rgb(49, 20, 180);
/* oklch */ color: oklch(38.0% 0.222 275.8);
Tailwind
colors: {
  custom: {
    50: '#805bcc',
    500: '#3114b4',
    950: '#000000',
  },
}
SCSS
$custom: #3114b4;
$custom-light: #805bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3114b4",
  "rgb": {
    "r": 49,
    "g": 20,
    "b": 180
  },
  "hsl": {
    "h": 250.875,
    "s": 80,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38039,
    "c": 0.22199,
    "h": 275.8
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#3114B4
secondary
#B9CF55
accent
#F631D3
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #3114B4

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

Preview Lab → · Contrast checker → · Palette generator →

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