#2F0E43#2F0E43

#2F0E43 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.097 H 309.6°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#2F0E43
RGBrgb(47, 14, 67)
HSLhsl(277, 65%, 16%)
HSVhsv(277, 79%, 26%)
CMYKcmyk(29.9%, 79.1%, 0%, 73.7%)
CIE-LABlab(11.44, 27.22, -26.36)
CIE-LCHlch(11.44, 37.89, 315.93°)
OKLaboklab(24.86% 0.0617 -0.0746)
OKLCHoklch(24.86% 0.097 309.6)
XYZxyz(2.3422, 1.3237, 5.4412)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E43 #22430E
analogous
#140E43 #2F0E43 #430E3C
triadic
#2F0E43 #432F0E #0E432F
tetradic
#2F0E43 #43140E #22430E #0E3C43
square
#2F0E43 #43140E #22430E #0E3C43
split-complementary
#2F0E43 #3C430E #0E4314
monochromatic
#120519 #120519 #2F0E43 #531976 #7623A8

Accessibility & contrast

On white

16.60
#2F0E43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0E43
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E43#FFFFFF#000000##FFFFFF
##2F0E431.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#051F42
Tritanopia (blue-blind)
#2C1A27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0e43;
/* rgb */ color: rgb(47, 14, 67);
/* oklch */ color: oklch(24.9% 0.097 309.6);
Tailwind
colors: {
  custom: {
    50: '#6a5077',
    500: '#2f0e43',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e43;
$custom-light: #6a5077;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e43",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 67
  },
  "hsl": {
    "h": 277.358,
    "s": 65.432,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24859,
    "c": 0.0968,
    "h": 309.6
  },
  "luminance": 0.01324
}

Semantic roles & 50–950 ramp

primary
#2F0E43
secondary
#4D7E2F
accent
#E83F7F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0E43

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

Preview Lab → · Contrast checker → · Palette generator →

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