#2F1469#2F1469

#2F1469 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.136 H 289.7°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#2F1469
RGBrgb(47, 20, 105)
HSLhsl(259, 68%, 25%)
HSVhsv(259, 81%, 41%)
CMYKcmyk(55.2%, 81%, 0%, 58.8%)
CIE-LABlab(16.13, 35.03, -44.49)
CIE-LCHlch(16.13, 56.62, 308.21°)
OKLaboklab(29.28% 0.0458 -0.1279)
OKLCHoklch(29.28% 0.136 289.7)
XYZxyz(3.9715, 2.1244, 13.5626)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1469 #4E6914
analogous
#142469 #2F1469 #5A1469
triadic
#2F1469 #692F14 #14692F
tetradic
#2F1469 #691424 #4E6914 #14695A
square
#2F1469 #691424 #4E6914 #14695A
split-complementary
#2F1469 #695A14 #246914
monochromatic
#0C051A #180A36 #2F1469 #461E9C #5D28D0

Accessibility & contrast

On white

14.74
#2F1469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2F1469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1469
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1469#FFFFFF#000000##FFFFFF
##2F14691.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#192C3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2f1469;
/* rgb */ color: rgb(47, 20, 105);
/* oklch */ color: oklch(29.3% 0.136 289.7);
Tailwind
colors: {
  custom: {
    50: '#6f5595',
    500: '#2f1469',
    950: '#000000',
  },
}
SCSS
$custom: #2f1469;
$custom-light: #6f5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1469",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 259.059,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29275,
    "c": 0.13585,
    "h": 289.7
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#2F1469
secondary
#7FA039
accent
#EB3DB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2F1469

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

Preview Lab → · Contrast checker → · Palette generator →

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