#2F1344#2F1344

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

Color values

HEX#2F1344
RGBrgb(47, 19, 68)
HSLhsl(274, 56%, 17%)
HSVhsv(274, 72%, 27%)
CMYKcmyk(30.9%, 72.1%, 0%, 73.3%)
CIE-LABlab(12.53, 24.70, -25.30)
CIE-LCHlch(12.53, 35.36, 314.31°)
OKLaboklab(25.67% 0.0549 -0.0715)
OKLCHoklch(25.67% 0.09 307.5)
XYZxyz(2.4483, 1.4875, 5.6259)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1344 #284413
analogous
#171344 #2F1344 #441341
triadic
#2F1344 #442F13 #13442F
tetradic
#2F1344 #441713 #284413 #134144
square
#2F1344 #441713 #284413 #134144
split-complementary
#2F1344 #414413 #134417
monochromatic
#110718 #110718 #2F1344 #502074 #712EA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F1344#FFFFFF#000000##FFFFFF
##2F13441.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)
#002046
Deuteranopia (green-blind)
#092143
Tritanopia (blue-blind)
#2C1D29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2f1344;
/* rgb */ color: rgb(47, 19, 68);
/* oklch */ color: oklch(25.7% 0.090 307.5);
Tailwind
colors: {
  custom: {
    50: '#6a5378',
    500: '#2f1344',
    950: '#000000',
  },
}
SCSS
$custom: #2f1344;
$custom-light: #6a5378;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1344",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 274.286,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25665,
    "c": 0.09018,
    "h": 307.5
  },
  "luminance": 0.01487
}

Semantic roles & 50–950 ramp

primary
#2F1344
secondary
#547D36
accent
#E04889
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2F1344

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

Preview Lab → · Contrast checker → · Palette generator →

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