#2F1445#2F1445

#2F1445 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.090 H 306.5°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#2F1445
RGBrgb(47, 20, 69)
HSLhsl(273, 55%, 17%)
HSVhsv(273, 71%, 27%)
CMYKcmyk(31.9%, 71%, 0%, 72.9%)
CIE-LABlab(12.82, 24.38, -25.53)
CIE-LCHlch(12.82, 35.30, 313.69°)
OKLaboklab(25.9% 0.0534 -0.0722)
OKLCHoklch(25.9% 0.09 306.5)
XYZxyz(2.4964, 1.5343, 5.7937)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1445 #2A4514
analogous
#161445 #2F1445 #451443
triadic
#2F1445 #452F14 #14452F
tetradic
#2F1445 #451614 #2A4514 #144345
square
#2F1445 #451614 #2A4514 #144345
split-complementary
#2F1445 #434514 #144516
monochromatic
#100718 #100718 #2F1445 #4F2274 #7030A4

Accessibility & contrast

On white

16.07
#2F1445 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2F1445 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1445
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1445#FFFFFF#000000##FFFFFF
##2F14451.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#0A2144
Tritanopia (blue-blind)
#2B1E2A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2f1445;
/* rgb */ color: rgb(47, 20, 69);
/* oklch */ color: oklch(25.9% 0.090 306.5);
Tailwind
colors: {
  custom: {
    50: '#6a5379',
    500: '#2f1445',
    950: '#000000',
  },
}
SCSS
$custom: #2f1445;
$custom-light: #6a5379;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1445",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 69
  },
  "hsl": {
    "h": 273.061,
    "s": 55.056,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25904,
    "c": 0.08982,
    "h": 306.5
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#2F1445
secondary
#577D38
accent
#DE498C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2F1445

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

Preview Lab → · Contrast checker → · Palette generator →

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