#2F0F43#2F0F43

#2F0F43 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.095 H 309.3°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#2F0F43
RGBrgb(47, 15, 67)
HSLhsl(277, 63%, 16%)
HSVhsv(277, 78%, 26%)
CMYKcmyk(29.9%, 77.6%, 0%, 73.7%)
CIE-LABlab(11.63, 26.69, -26.05)
CIE-LCHlch(11.63, 37.30, 315.70°)
OKLaboklab(24.99% 0.0604 -0.0737)
OKLCHoklch(24.99% 0.095 309.3)
XYZxyz(2.3560, 1.3513, 5.4458)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0F43 #23430F
analogous
#150F43 #2F0F43 #430F3D
triadic
#2F0F43 #432F0F #0F432F
tetradic
#2F0F43 #43150F #23430F #0F3D43
square
#2F0F43 #43150F #23430F #0F3D43
split-complementary
#2F0F43 #3D430F #0F4315
monochromatic
#120619 #120619 #2F0F43 #521A75 #7525A7

Accessibility & contrast

On white

16.53
#2F0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0F43
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0F43#FFFFFF#000000##FFFFFF
##2F0F431.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#061F42
Tritanopia (blue-blind)
#2C1A27
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f0f43;
/* rgb */ color: rgb(47, 15, 67);
/* oklch */ color: oklch(25.0% 0.095 309.3);
Tailwind
colors: {
  custom: {
    50: '#6a5077',
    500: '#2f0f43',
    950: '#000000',
  },
}
SCSS
$custom: #2f0f43;
$custom-light: #6a5077;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0f43",
  "rgb": {
    "r": 47,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 276.923,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24994,
    "c": 0.0953,
    "h": 309.3
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#2F0F43
secondary
#4E7D30
accent
#E64181
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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