#2F0647#2F0647

#2F0647 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.112 H 308.5°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#2F0647
RGBrgb(47, 6, 71)
HSLhsl(278, 84%, 15%)
HSVhsv(278, 92%, 28%)
CMYKcmyk(33.8%, 91.5%, 0%, 72.2%)
CIE-LABlab(10.48, 32.03, -30.72)
CIE-LCHlch(10.48, 44.38, 316.19°)
OKLaboklab(24.3% 0.0695 -0.0874)
OKLCHoklch(24.3% 0.112 308.5)
XYZxyz(2.3745, 1.1896, 6.0645)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0647 #1E4706
analogous
#0E0647 #2F0647 #47063F
triadic
#2F0647 #472F06 #06472F
tetradic
#2F0647 #470E06 #1E4706 #063F47
square
#2F0647 #470E06 #1E4706 #063F47
split-complementary
#2F0647 #3F4706 #06470E
monochromatic
#13021C #13021C #2F0647 #540B7F #7A10B8

Accessibility & contrast

On white

16.96
#2F0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2F0647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0647
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0647#FFFFFF#000000##FFFFFF
##2F06471.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#2B1727
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2f0647;
/* rgb */ color: rgb(47, 6, 71);
/* oklch */ color: oklch(24.3% 0.112 308.5);
Tailwind
colors: {
  custom: {
    50: '#6b4c7b',
    500: '#2f0647',
    950: '#000000',
  },
}
SCSS
$custom: #2f0647;
$custom-light: #6b4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0647",
  "rgb": {
    "r": 47,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 277.846,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24295,
    "c": 0.11167,
    "h": 308.5
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#2F0647
secondary
#478623
accent
#FB2D79
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #2F0647

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

Preview Lab → · Contrast checker → · Palette generator →

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