#2F1067#2F1067

#2F1067 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.138 H 291.1°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#2F1067
RGBrgb(47, 16, 103)
HSLhsl(261, 73%, 23%)
HSVhsv(261, 84%, 40%)
CMYKcmyk(54.4%, 84.5%, 0%, 59.6%)
CIE-LABlab(15.24, 36.37, -44.63)
CIE-LCHlch(15.24, 57.57, 309.18°)
OKLaboklab(28.6% 0.0496 -0.1283)
OKLCHoklch(28.6% 0.138 291.1)
XYZxyz(3.8051, 1.9540, 13.0060)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1067 #486710
analogous
#101D67 #2F1067 #5A1067
triadic
#2F1067 #672F10 #10672F
tetradic
#2F1067 #67101D #486710 #10675A
square
#2F1067 #67101D #486710 #10675A
split-complementary
#2F1067 #675A10 #1D6710
monochromatic
#0C041A #170832 #2F1067 #47189C #5F20D1

Accessibility & contrast

On white

15.10
#2F1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2F1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1067
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1067#FFFFFF#000000##FFFFFF
##2F10671.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#1B293C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2f1067;
/* rgb */ color: rgb(47, 16, 103);
/* oklch */ color: oklch(28.6% 0.138 291.1);
Tailwind
colors: {
  custom: {
    50: '#6f5393',
    500: '#2f1067',
    950: '#000000',
  },
}
SCSS
$custom: #2f1067;
$custom-light: #6f5393;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1067",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 261.379,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28597,
    "c": 0.13752,
    "h": 291.1
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#2F1067
secondary
#799F33
accent
#F038AE
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2F1067

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

Preview Lab → · Contrast checker → · Palette generator →

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