#2F11A0#2F11A0

#2F11A0 is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.3% C 0.202 H 277.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#2F11A0
RGBrgb(47, 17, 160)
HSLhsl(253, 81%, 35%)
HSVhsv(253, 89%, 63%)
CMYKcmyk(70.6%, 89.4%, 0%, 37.3%)
CIE-LABlab(22.10, 52.28, -69.37)
CIE-LCHlch(22.10, 86.87, 307.00°)
OKLaboklab(35.25% 0.0274 -0.2003)
OKLCHoklch(35.25% 0.202 277.8)
XYZxyz(7.7159, 3.5426, 33.5281)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F11A0 #82A011
analogous
#113BA0 #2F11A0 #7611A0
triadic
#2F11A0 #A02F11 #11A02F
tetradic
#2F11A0 #A0113B #82A011 #11A076
square
#2F11A0 #A0113B #82A011 #11A076
split-complementary
#2F11A0 #A07611 #3BA011
monochromatic
#0E0531 #1F0B69 #2F11A0 #3F17D7 #6441EB

Accessibility & contrast

On white

12.29
#2F11A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F11A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F11A0
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F11A0#FFFFFF#000000##FFFFFF
##2F11A01.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f11a0;
/* rgb */ color: rgb(47, 17, 160);
/* oklch */ color: oklch(35.3% 0.202 277.8);
Tailwind
colors: {
  custom: {
    50: '#7b58be',
    500: '#2f11a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f11a0;
$custom-light: #7b58be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f11a0",
  "rgb": {
    "r": 47,
    "g": 17,
    "b": 160
  },
  "hsl": {
    "h": 252.587,
    "s": 80.791,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3525,
    "c": 0.20216,
    "h": 277.8
  },
  "luminance": 0.03543
}

Semantic roles & 50–950 ramp

primary
#2F11A0
secondary
#AECB42
accent
#F731CE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2F11A0

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

Preview Lab → · Contrast checker → · Palette generator →

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