#2D14A0#2D14A0

#2D14A0 is a dark, highly saturated violet. Relative luminance 0.036; OKLCH L 35.3% C 0.201 H 276.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#2D14A0
RGBrgb(45, 20, 160)
HSLhsl(251, 78%, 35%)
HSVhsv(251, 88%, 63%)
CMYKcmyk(71.9%, 87.5%, 0%, 37.3%)
CIE-LABlab(22.29, 51.09, -69.06)
CIE-LCHlch(22.29, 85.91, 306.49°)
OKLaboklab(35.34% 0.0235 -0.1995)
OKLCHoklch(35.34% 0.201 276.7)
XYZxyz(7.6754, 3.5955, 33.5404)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D14A0 #87A014
analogous
#1441A0 #2D14A0 #7314A0
triadic
#2D14A0 #A02D14 #14A02D
tetradic
#2D14A0 #A01441 #87A014 #14A073
square
#2D14A0 #A01441 #87A014 #14A073
split-complementary
#2D14A0 #A07314 #41A014
monochromatic
#0E0633 #1E0D6A #2D14A0 #3C1BD6 #6346E8

Accessibility & contrast

On white

12.21
#2D14A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D14A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D14A0
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D14A0#FFFFFF#000000##FFFFFF
##2D14A01.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d14a0;
/* rgb */ color: rgb(45, 20, 160);
/* oklch */ color: oklch(35.3% 0.201 276.7);
Tailwind
colors: {
  custom: {
    50: '#7a59be',
    500: '#2d14a0',
    950: '#000000',
  },
}
SCSS
$custom: #2d14a0;
$custom-light: #7a59be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d14a0",
  "rgb": {
    "r": 45,
    "g": 20,
    "b": 160
  },
  "hsl": {
    "h": 250.714,
    "s": 77.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35336,
    "c": 0.20087,
    "h": 276.7
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#2D14A0
secondary
#B2C947
accent
#F434D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D14A0

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

Preview Lab → · Contrast checker → · Palette generator →

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