#2F0B49#2F0B49

#2F0B49 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.108 H 306.3°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#2F0B49
RGBrgb(47, 11, 73)
HSLhsl(275, 74%, 16%)
HSVhsv(275, 85%, 29%)
CMYKcmyk(35.6%, 84.9%, 0%, 71.4%)
CIE-LABlab(11.45, 30.28, -30.55)
CIE-LCHlch(11.45, 43.01, 314.75°)
OKLaboklab(25.03% 0.0638 -0.0869)
OKLCHoklch(25.03% 0.108 306.3)
XYZxyz(2.4943, 1.3247, 6.4263)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0B49 #25490B
analogous
#100B49 #2F0B49 #490B44
triadic
#2F0B49 #492F0B #0B492F
tetradic
#2F0B49 #49100B #25490B #0B4449
square
#2F0B49 #49100B #25490B #0B4449
split-complementary
#2F0B49 #44490B #0B4910
monochromatic
#11041B #11041B #2F0B49 #51137E #731BB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0B49#FFFFFF#000000##FFFFFF
##2F0B491.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)
#001D4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#2A1B2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f0b49;
/* rgb */ color: rgb(47, 11, 73);
/* oklch */ color: oklch(25.0% 0.108 306.3);
Tailwind
colors: {
  custom: {
    50: '#6b4e7c',
    500: '#2f0b49',
    950: '#000000',
  },
}
SCSS
$custom: #2f0b49;
$custom-light: #6b4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0b49",
  "rgb": {
    "r": 47,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 274.839,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25029,
    "c": 0.10781,
    "h": 306.3
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#2F0B49
secondary
#51852A
accent
#F03785
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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