#2F14A1#2F14A1

#2F14A1 is a dark, highly saturated violet. Relative luminance 0.037; OKLCH L 35.6% C 0.202 H 277.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2F14A1
RGBrgb(47, 20, 161)
HSLhsl(251, 78%, 35%)
HSVhsv(251, 88%, 63%)
CMYKcmyk(70.8%, 87.6%, 0%, 36.9%)
CIE-LABlab(22.57, 51.51, -69.19)
CIE-LCHlch(22.57, 86.26, 306.67°)
OKLaboklab(35.61% 0.0262 -0.1998)
OKLCHoklch(35.61% 0.202 277.5)
XYZxyz(7.8534, 3.6771, 34.0072)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F14A1 #86A114
analogous
#1440A1 #2F14A1 #7514A1
triadic
#2F14A1 #A12F14 #14A12F
tetradic
#2F14A1 #A11440 #86A114 #14A175
square
#2F14A1 #A11440 #86A114 #14A175
split-complementary
#2F14A1 #A17514 #40A114
monochromatic
#0F0634 #1F0D6B #2F14A1 #3F1BD7 #6647E8

Accessibility & contrast

On white

12.10
#2F14A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2F14A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F14A1
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F14A1#FFFFFF#000000##FFFFFF
##2F14A11.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f14a1;
/* rgb */ color: rgb(47, 20, 161);
/* oklch */ color: oklch(35.6% 0.202 277.5);
Tailwind
colors: {
  custom: {
    50: '#7b59be',
    500: '#2f14a1',
    950: '#000000',
  },
}
SCSS
$custom: #2f14a1;
$custom-light: #7b59be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f14a1",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 161
  },
  "hsl": {
    "h": 251.489,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35609,
    "c": 0.20153,
    "h": 277.5
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#2F14A1
secondary
#B0C948
accent
#F433CF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2F14A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2F14A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva