#2F0A43#2F0A43

#2F0A43 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.102 H 310.4°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#2F0A43
RGBrgb(47, 10, 67)
HSLhsl(279, 74%, 15%)
HSVhsv(279, 85%, 26%)
CMYKcmyk(29.9%, 85.1%, 0%, 73.7%)
CIE-LABlab(10.75, 29.18, -27.47)
CIE-LCHlch(10.75, 40.07, 316.73°)
OKLaboklab(24.37% 0.0663 -0.0778)
OKLCHoklch(24.37% 0.102 310.4)
XYZxyz(2.2938, 1.2267, 5.4251)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A43 #1E430A
analogous
#120A43 #2F0A43 #430A3B
triadic
#2F0A43 #432F0A #0A432F
tetradic
#2F0A43 #43120A #1E430A #0A3B43
square
#2F0A43 #43120A #1E430A #0A3B43
split-complementary
#2F0A43 #3B430A #0A4312
monochromatic
#13041B #13041B #2F0A43 #541278 #7A1AAE

Accessibility & contrast

On white

16.86
#2F0A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A43
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A43#FFFFFF#000000##FFFFFF
##2F0A431.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0a43;
/* rgb */ color: rgb(47, 10, 67);
/* oklch */ color: oklch(24.4% 0.102 310.4);
Tailwind
colors: {
  custom: {
    50: '#6a4e78',
    500: '#2f0a43',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a43;
$custom-light: #6a4e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a43",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 278.947,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24372,
    "c": 0.10227,
    "h": 310.4
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#2F0A43
secondary
#478029
accent
#F13778
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0A43

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

Preview Lab → · Contrast checker → · Palette generator →

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