#2F0B43#2F0B43

#2F0B43 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.101 H 310.2°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2F0B43
RGBrgb(47, 11, 67)
HSLhsl(279, 72%, 15%)
HSVhsv(279, 84%, 26%)
CMYKcmyk(29.9%, 83.6%, 0%, 73.7%)
CIE-LABlab(10.91, 28.72, -27.21)
CIE-LCHlch(10.91, 39.56, 316.54°)
OKLaboklab(24.49% 0.0652 -0.0771)
OKLCHoklch(24.49% 0.101 310.2)
XYZxyz(2.3049, 1.2490, 5.4288)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B43 #1F430B
analogous
#130B43 #2F0B43 #430B3B
triadic
#2F0B43 #432F0B #0B432F
tetradic
#2F0B43 #43130B #1F430B #0B3B43
square
#2F0B43 #43130B #1F430B #0B3B43
split-complementary
#2F0B43 #3B430B #0B4313
monochromatic
#12041A #12041A #2F0B43 #541478 #791CAC

Accessibility & contrast

On white

16.80
#2F0B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2F0B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0B43
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0B43#FFFFFF#000000##FFFFFF
##2F0B431.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#021E42
Tritanopia (blue-blind)
#2C1826
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0b43;
/* rgb */ color: rgb(47, 11, 67);
/* oklch */ color: oklch(24.5% 0.101 310.2);
Tailwind
colors: {
  custom: {
    50: '#6a4e78',
    500: '#2f0b43',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b43;
$custom-light: #6a4e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b43",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 278.571,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24485,
    "c": 0.10098,
    "h": 310.2
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#2F0B43
secondary
#49802A
accent
#EF397A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0B43

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

Preview Lab → · Contrast checker → · Palette generator →

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