#2F1369#2F1369

#2F1369 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.137 H 289.9°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#2F1369
RGBrgb(47, 19, 105)
HSLhsl(260, 69%, 24%)
HSVhsv(260, 82%, 41%)
CMYKcmyk(55.2%, 81.9%, 0%, 58.8%)
CIE-LABlab(15.95, 35.53, -44.78)
CIE-LCHlch(15.95, 57.16, 308.43°)
OKLaboklab(29.15% 0.0466 -0.1287)
OKLCHoklch(29.15% 0.137 289.9)
XYZxyz(3.9542, 2.0898, 13.5569)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1369 #4D6913
analogous
#132269 #2F1369 #5A1369
triadic
#2F1369 #692F13 #13692F
tetradic
#2F1369 #691322 #4D6913 #13695A
square
#2F1369 #691322 #4D6913 #13695A
split-complementary
#2F1369 #695A13 #226913
monochromatic
#0C051A #180A35 #2F1369 #461C9D #5D26D1

Accessibility & contrast

On white

14.81
#2F1369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F1369
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1369#FFFFFF#000000##FFFFFF
##2F13691.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f1369;
/* rgb */ color: rgb(47, 19, 105);
/* oklch */ color: oklch(29.2% 0.137 289.9);
Tailwind
colors: {
  custom: {
    50: '#6f5595',
    500: '#2f1369',
    950: '#000000',
  },
}
SCSS
$custom: #2f1369;
$custom-light: #6f5595;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1369",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 259.535,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29153,
    "c": 0.1369,
    "h": 289.9
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#2F1369
secondary
#7EA038
accent
#EC3CB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2F1369

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

Preview Lab → · Contrast checker → · Palette generator →

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