#2F0E46#2F0E46

#2F0E46 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.100 H 307.5°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#2F0E46
RGBrgb(47, 14, 70)
HSLhsl(275, 67%, 16%)
HSVhsv(275, 80%, 27%)
CMYKcmyk(32.9%, 80%, 0%, 72.5%)
CIE-LABlab(11.69, 28.02, -28.05)
CIE-LCHlch(11.69, 39.65, 314.97°)
OKLaboklab(25.12% 0.0612 -0.0796)
OKLCHoklch(25.12% 0.1 307.5)
XYZxyz(2.4346, 1.3606, 5.9275)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E46 #25460E
analogous
#130E46 #2F0E46 #460E41
triadic
#2F0E46 #462F0E #0E462F
tetradic
#2F0E46 #46130E #25460E #0E4146
square
#2F0E46 #46130E #25460E #0E4146
split-complementary
#2F0E46 #41460E #0E4613
monochromatic
#11051A #11051A #2F0E46 #511879 #7322AC

Accessibility & contrast

On white

16.51
#2F0E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F0E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E46
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E46#FFFFFF#000000##FFFFFF
##2F0E461.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#011F45
Tritanopia (blue-blind)
#2B1B29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f0e46;
/* rgb */ color: rgb(47, 14, 70);
/* oklch */ color: oklch(25.1% 0.100 307.5);
Tailwind
colors: {
  custom: {
    50: '#6a507a',
    500: '#2f0e46',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e46;
$custom-light: #6a507a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e46",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 275.357,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25119,
    "c": 0.10038,
    "h": 307.5
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#2F0E46
secondary
#51812F
accent
#EA3E85
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0E46

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

Preview Lab → · Contrast checker → · Palette generator →

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