#2F0D43#2F0D43

#2F0D43 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.098 H 309.8°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#2F0D43
RGBrgb(47, 13, 67)
HSLhsl(278, 68%, 16%)
HSVhsv(278, 81%, 26%)
CMYKcmyk(29.9%, 80.6%, 0%, 73.7%)
CIE-LABlab(11.26, 27.74, -26.65)
CIE-LCHlch(11.26, 38.47, 316.14°)
OKLaboklab(24.73% 0.0629 -0.0755)
OKLCHoklch(24.73% 0.098 309.8)
XYZxyz(2.3291, 1.2975, 5.4368)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0D43 #21430D
analogous
#140D43 #2F0D43 #430D3C
triadic
#2F0D43 #432F0D #0D432F
tetradic
#2F0D43 #43140D #21430D #0D3C43
square
#2F0D43 #43140D #21430D #0D3C43
split-complementary
#2F0D43 #3C430D #0D4314
monochromatic
#12051A #12051A #2F0D43 #531776 #7721AA

Accessibility & contrast

On white

16.67
#2F0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F0D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0D43
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0D43#FFFFFF#000000##FFFFFF
##2F0D431.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#041E42
Tritanopia (blue-blind)
#2C1927
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0d43;
/* rgb */ color: rgb(47, 13, 67);
/* oklch */ color: oklch(24.7% 0.098 309.8);
Tailwind
colors: {
  custom: {
    50: '#6a4f77',
    500: '#2f0d43',
    950: '#000000',
  },
}
SCSS
$custom: #2f0d43;
$custom-light: #6a4f77;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0d43",
  "rgb": {
    "r": 47,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 277.778,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24729,
    "c": 0.09824,
    "h": 309.8
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#2F0D43
secondary
#4B7E2D
accent
#EA3D7D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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