#2F1044#2F1044

#2F1044 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.095 H 308.4°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#2F1044
RGBrgb(47, 16, 68)
HSLhsl(276, 62%, 16%)
HSVhsv(276, 76%, 27%)
CMYKcmyk(30.9%, 76.5%, 0%, 73.3%)
CIE-LABlab(11.91, 26.42, -26.31)
CIE-LCHlch(11.91, 37.28, 315.12°)
OKLaboklab(25.22% 0.059 -0.0745)
OKLCHoklch(25.22% 0.095 308.4)
XYZxyz(2.4008, 1.3923, 5.6100)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1044 #254410
analogous
#151044 #2F1044 #44103F
triadic
#2F1044 #442F10 #10442F
tetradic
#2F1044 #441510 #254410 #103F44
square
#2F1044 #441510 #254410 #103F44
split-complementary
#2F1044 #3F4410 #104415
monochromatic
#110619 #110619 #2F1044 #511C76 #7327A7

Accessibility & contrast

On white

16.43
#2F1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2F1044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1044
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1044#FFFFFF#000000##FFFFFF
##2F10441.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#062043
Tritanopia (blue-blind)
#2C1B28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f1044;
/* rgb */ color: rgb(47, 16, 68);
/* oklch */ color: oklch(25.2% 0.095 308.4);
Tailwind
colors: {
  custom: {
    50: '#6a5178',
    500: '#2f1044',
    950: '#000000',
  },
}
SCSS
$custom: #2f1044;
$custom-light: #6a5178;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1044",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 275.769,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25218,
    "c": 0.095,
    "h": 308.4
  },
  "luminance": 0.01392
}

Semantic roles & 50–950 ramp

primary
#2F1044
secondary
#517E32
accent
#E54384
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F1044

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

Preview Lab → · Contrast checker → · Palette generator →

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