#2F1669#2F1669

#2F1669 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.134 H 289.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#2F1669
RGBrgb(47, 22, 105)
HSLhsl(258, 65%, 25%)
HSVhsv(258, 79%, 41%)
CMYKcmyk(55.2%, 79%, 0%, 58.8%)
CIE-LABlab(16.49, 33.98, -43.89)
CIE-LCHlch(16.49, 55.51, 307.75°)
OKLaboklab(29.53% 0.0441 -0.1262)
OKLCHoklch(29.53% 0.134 289.3)
XYZxyz(4.0083, 2.1979, 13.5749)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1669 #506916
analogous
#162769 #2F1669 #581669
triadic
#2F1669 #692F16 #16692F
tetradic
#2F1669 #691627 #506916 #166958
square
#2F1669 #691627 #506916 #166958
split-complementary
#2F1669 #695816 #276916
monochromatic
#0B0519 #180B36 #2F1669 #46219C #5C2BCE

Accessibility & contrast

On white

14.59
#2F1669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F1669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1669
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1669#FFFFFF#000000##FFFFFF
##2F16691.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#192D3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f1669;
/* rgb */ color: rgb(47, 22, 105);
/* oklch */ color: oklch(29.5% 0.134 289.3);
Tailwind
colors: {
  custom: {
    50: '#6f5695',
    500: '#2f1669',
    950: '#000000',
  },
}
SCSS
$custom: #2f1669;
$custom-light: #6f5695;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1669",
  "rgb": {
    "r": 47,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 258.072,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29532,
    "c": 0.13363,
    "h": 289.3
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#2F1669
secondary
#819F3B
accent
#E83FB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2F1669

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

Preview Lab → · Contrast checker → · Palette generator →

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