#2F1069#2F1069

#2F1069 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.140 H 290.5°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#2F1069
RGBrgb(47, 16, 105)
HSLhsl(261, 74%, 24%)
HSVhsv(261, 85%, 41%)
CMYKcmyk(55.2%, 84.8%, 0%, 58.8%)
CIE-LABlab(15.46, 36.95, -45.59)
CIE-LCHlch(15.46, 58.68, 309.03°)
OKLaboklab(28.81% 0.0489 -0.1311)
OKLCHoklch(28.81% 0.14 290.5)
XYZxyz(3.9066, 1.9947, 13.5410)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1069 #4A6910
analogous
#101D69 #2F1069 #5B1069
triadic
#2F1069 #692F10 #10692F
tetradic
#2F1069 #69101D #4A6910 #10695B
square
#2F1069 #69101D #4A6910 #10695B
split-complementary
#2F1069 #695B10 #1D6910
monochromatic
#0C041B #170834 #2F1069 #47189E #5F20D3

Accessibility & contrast

On white

15.01
#2F1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2F1069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1069
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1069#FFFFFF#000000##FFFFFF
##2F10691.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#1A2A3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f1069;
/* rgb */ color: rgb(47, 16, 105);
/* oklch */ color: oklch(28.8% 0.140 290.5);
Tailwind
colors: {
  custom: {
    50: '#6f5395',
    500: '#2f1069',
    950: '#000000',
  },
}
SCSS
$custom: #2f1069;
$custom-light: #6f5395;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1069",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 260.899,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28811,
    "c": 0.13989,
    "h": 290.5
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#2F1069
secondary
#7BA134
accent
#F038B0
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2F1069

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

Preview Lab → · Contrast checker → · Palette generator →

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