#2F1441#2F1441

#2F1441 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.085 H 309.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#2F1441
RGBrgb(47, 20, 65)
HSLhsl(276, 53%, 17%)
HSVhsv(276, 69%, 25%)
CMYKcmyk(27.7%, 69.2%, 0%, 74.5%)
CIE-LABlab(12.52, 23.27, -23.21)
CIE-LCHlch(12.52, 32.87, 315.08°)
OKLaboklab(25.59% 0.0536 -0.0654)
OKLCHoklch(25.59% 0.085 309.3)
XYZxyz(2.3764, 1.4863, 5.1617)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1441 #264114
analogous
#191441 #2F1441 #41143D
triadic
#2F1441 #412F14 #14412F
tetradic
#2F1441 #411914 #264114 #143D41
square
#2F1441 #411914 #264114 #143D41
split-complementary
#2F1441 #3D4114 #144119
monochromatic
#110717 #110717 #2F1441 #512270 #73319F

Accessibility & contrast

On white

16.19
#2F1441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2F1441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1441
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1441#FFFFFF#000000##FFFFFF
##2F14411.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031F42
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#2C1D28
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2f1441;
/* rgb */ color: rgb(47, 20, 65);
/* oklch */ color: oklch(25.6% 0.085 309.3);
Tailwind
colors: {
  custom: {
    50: '#695376',
    500: '#2f1441',
    950: '#000000',
  },
}
SCSS
$custom: #2f1441;
$custom-light: #695376;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1441",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 65
  },
  "hsl": {
    "h": 276,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25587,
    "c": 0.08455,
    "h": 309.3
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#2F1441
secondary
#527938
accent
#DC4B85
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F1441

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

Preview Lab → · Contrast checker → · Palette generator →

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