#2F1649#2F1649

#2F1649 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.6% C 0.092 H 303.2°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#2F1649
RGBrgb(47, 22, 73)
HSLhsl(269, 54%, 19%)
HSVhsv(269, 70%, 29%)
CMYKcmyk(35.6%, 69.9%, 0%, 71.4%)
CIE-LABlab(13.59, 24.31, -27.08)
CIE-LCHlch(13.59, 36.39, 311.91°)
OKLaboklab(26.56% 0.0503 -0.0768)
OKLCHoklch(26.56% 0.092 303.2)
XYZxyz(2.6615, 1.6592, 6.4821)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1649 #304916
analogous
#161649 #2F1649 #481649
triadic
#2F1649 #492F16 #16492F
tetradic
#2F1649 #491616 #304916 #164948
square
#2F1649 #491616 #304916 #164948
split-complementary
#2F1649 #494816 #164916
monochromatic
#0F0718 #11081A #2F1649 #4D2478 #6C32A7

Accessibility & contrast

On white

15.77
#2F1649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2F1649 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1649
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1649#FFFFFF#000000##FFFFFF
##2F16491.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#072348
Tritanopia (blue-blind)
#2A212D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2f1649;
/* rgb */ color: rgb(47, 22, 73);
/* oklch */ color: oklch(26.6% 0.092 303.2);
Tailwind
colors: {
  custom: {
    50: '#6a557c',
    500: '#2f1649',
    950: '#000000',
  },
}
SCSS
$custom: #2f1649;
$custom-light: #6a557c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1649",
  "rgb": {
    "r": 47,
    "g": 22,
    "b": 73
  },
  "hsl": {
    "h": 269.412,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26555,
    "c": 0.0918,
    "h": 303.2
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#2F1649
secondary
#5E803A
accent
#DD4B95
background
#F6F4F7
surface
#EBE8EE
border
#C6C4C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #2F1649

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

Preview Lab → · Contrast checker → · Palette generator →

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