#2F1467#2F1467

#2F1467 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.133 H 290.4°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#2F1467
RGBrgb(47, 20, 103)
HSLhsl(260, 67%, 24%)
HSVhsv(260, 81%, 40%)
CMYKcmyk(54.4%, 80.6%, 0%, 59.6%)
CIE-LABlab(15.92, 34.42, -43.52)
CIE-LCHlch(15.92, 55.48, 308.34°)
OKLaboklab(29.07% 0.0464 -0.125)
OKLCHoklch(29.07% 0.133 290.4)
XYZxyz(3.8699, 2.0838, 13.0276)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1467 #4C6714
analogous
#142367 #2F1467 #591467
triadic
#2F1467 #672F14 #14672F
tetradic
#2F1467 #671423 #4C6714 #146759
square
#2F1467 #671423 #4C6714 #146759
split-complementary
#2F1467 #675914 #236714
monochromatic
#0C051A #180A34 #2F1467 #461E9A #5E28CD

Accessibility & contrast

On white

14.82
#2F1467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2F1467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1467
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1467#FFFFFF#000000##FFFFFF
##2F14671.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002665
Tritanopia (blue-blind)
#1B2B3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f1467;
/* rgb */ color: rgb(47, 20, 103);
/* oklch */ color: oklch(29.1% 0.133 290.4);
Tailwind
colors: {
  custom: {
    50: '#6f5593',
    500: '#2f1467',
    950: '#000000',
  },
}
SCSS
$custom: #2f1467;
$custom-light: #6f5593;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1467",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 103
  },
  "hsl": {
    "h": 259.518,
    "s": 67.48,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29068,
    "c": 0.13337,
    "h": 290.4
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#2F1467
secondary
#7D9E39
accent
#EA3DB2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2F1467

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

Preview Lab → · Contrast checker → · Palette generator →

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