#2F0F44#2F0F44

#2F0F44 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.097 H 308.6°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#2F0F44
RGBrgb(47, 15, 68)
HSLhsl(276, 64%, 16%)
HSVhsv(276, 78%, 27%)
CMYKcmyk(30.9%, 77.9%, 0%, 73.3%)
CIE-LABlab(11.71, 26.96, -26.62)
CIE-LCHlch(11.71, 37.89, 315.36°)
OKLaboklab(25.08% 0.0603 -0.0754)
OKLCHoklch(25.08% 0.097 308.6)
XYZxyz(2.3863, 1.3634, 5.6052)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F44 #24440F
analogous
#150F44 #2F0F44 #440F3F
triadic
#2F0F44 #442F0F #0F442F
tetradic
#2F0F44 #44150F #24440F #0F3F44
square
#2F0F44 #44150F #24440F #0F3F44
split-complementary
#2F0F44 #3F440F #0F4415
monochromatic
#110619 #110619 #2F0F44 #521A76 #7425A8

Accessibility & contrast

On white

16.50
#2F0F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F0F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0F44
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F44#FFFFFF#000000##FFFFFF
##2F0F441.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f0f44;
/* rgb */ color: rgb(47, 15, 68);
/* oklch */ color: oklch(25.1% 0.097 308.6);
Tailwind
colors: {
  custom: {
    50: '#6a5078',
    500: '#2f0f44',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f44;
$custom-light: #6a5078;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f44",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 276.226,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25079,
    "c": 0.09652,
    "h": 308.6
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#2F0F44
secondary
#4F7E30
accent
#E74183
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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