#2F0A49#2F0A49

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

Color values

HEX#2F0A49
RGBrgb(47, 10, 73)
HSLhsl(275, 76%, 16%)
HSVhsv(275, 86%, 29%)
CMYKcmyk(35.6%, 86.3%, 0%, 71.4%)
CIE-LABlab(11.29, 30.72, -30.80)
CIE-LCHlch(11.29, 43.50, 314.93°)
OKLaboklab(24.92% 0.0648 -0.0876)
OKLCHoklch(24.92% 0.109 306.5)
XYZxyz(2.4832, 1.3025, 6.4226)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A49 #24490A
analogous
#100A49 #2F0A49 #490A44
triadic
#2F0A49 #492F0A #0A492F
tetradic
#2F0A49 #49100A #24490A #0A4449
square
#2F0A49 #49100A #24490A #0A4449
split-complementary
#2F0A49 #44490A #0A4910
monochromatic
#11041B #11041B #2F0A49 #52117F #7419B5

Accessibility & contrast

On white

16.66
#2F0A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A49
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A49#FFFFFF#000000##FFFFFF
##2F0A491.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#2A1A29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0a49;
/* rgb */ color: rgb(47, 10, 73);
/* oklch */ color: oklch(24.9% 0.109 306.5);
Tailwind
colors: {
  custom: {
    50: '#6b4e7c',
    500: '#2f0a49',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a49;
$custom-light: #6b4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a49",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 275.238,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2492,
    "c": 0.10899,
    "h": 306.5
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#2F0A49
secondary
#4F8629
accent
#F23583
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0A49

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

Preview Lab → · Contrast checker → · Palette generator →

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