#2F1465#2F1465

#2F1465 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.131 H 291.0°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#2F1465
RGBrgb(47, 20, 101)
HSLhsl(260, 67%, 24%)
HSVhsv(260, 80%, 40%)
CMYKcmyk(53.5%, 80.2%, 0%, 60.4%)
CIE-LABlab(15.72, 33.82, -42.53)
CIE-LCHlch(15.72, 54.34, 308.49°)
OKLaboklab(28.86% 0.047 -0.1222)
OKLCHoklch(28.86% 0.131 291)
XYZxyz(3.7707, 2.0441, 12.5053)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1465 #4A6514
analogous
#142165 #2F1465 #571465
triadic
#2F1465 #652F14 #14652F
tetradic
#2F1465 #651421 #4A6514 #146557
square
#2F1465 #651421 #4A6514 #146557
split-complementary
#2F1465 #655714 #216514
monochromatic
#0C051A #170A32 #2F1465 #471E98 #5F28CB

Accessibility & contrast

On white

14.91
#2F1465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2F1465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1465
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1465#FFFFFF#000000##FFFFFF
##2F14651.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#1C2A3C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f1465;
/* rgb */ color: rgb(47, 20, 101);
/* oklch */ color: oklch(28.9% 0.131 291.0);
Tailwind
colors: {
  custom: {
    50: '#6e5592',
    500: '#2f1465',
    950: '#000000',
  },
}
SCSS
$custom: #2f1465;
$custom-light: #6e5592;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1465",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 260,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28863,
    "c": 0.13089,
    "h": 291
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#2F1465
secondary
#7B9C39
accent
#EA3EB1
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2F1465

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

Preview Lab → · Contrast checker → · Palette generator →

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