#2F1453#2F1453

#2F1453 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.108 H 298.5°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#2F1453
RGBrgb(47, 20, 83)
HSLhsl(266, 61%, 20%)
HSVhsv(266, 76%, 33%)
CMYKcmyk(43.4%, 75.9%, 0%, 67.5%)
CIE-LABlab(14.00, 28.43, -33.28)
CIE-LCHlch(14.00, 43.77, 310.50°)
OKLaboklab(27.12% 0.0515 -0.095)
OKLCHoklch(27.12% 0.108 298.5)
XYZxyz(2.9834, 1.7291, 8.3585)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1453 #385314
analogous
#141953 #2F1453 #4E1453
triadic
#2F1453 #532F14 #14532F
tetradic
#2F1453 #531419 #385314 #14534E
square
#2F1453 #531419 #385314 #14534E
split-complementary
#2F1453 #534E14 #195314
monochromatic
#0E0619 #130822 #2F1453 #4B2084 #672CB6

Accessibility & contrast

On white

15.60
#2F1453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2F1453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1453
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1453#FFFFFF#000000##FFFFFF
##2F14531.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#262331
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2f1453;
/* rgb */ color: rgb(47, 20, 83);
/* oklch */ color: oklch(27.1% 0.108 298.5);
Tailwind
colors: {
  custom: {
    50: '#6b5484',
    500: '#2f1453',
    950: '#000000',
  },
}
SCSS
$custom: #2f1453;
$custom-light: #6b5484;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1453",
  "rgb": {
    "r": 47,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 265.714,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27116,
    "c": 0.10809,
    "h": 298.5
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#2F1453
secondary
#678B38
accent
#E4449F
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2F1453

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

Preview Lab → · Contrast checker → · Palette generator →

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