#2F103F#2F103F

#2F103F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.089 H 312.0°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#2F103F
RGBrgb(47, 16, 63)
HSLhsl(280, 59%, 15%)
HSVhsv(280, 75%, 25%)
CMYKcmyk(25.4%, 74.6%, 0%, 75.3%)
CIE-LABlab(11.51, 25.08, -23.42)
CIE-LCHlch(11.51, 34.32, 316.97°)
OKLaboklab(24.81% 0.0595 -0.066)
OKLCHoklch(24.81% 0.089 312)
XYZxyz(2.2546, 1.3339, 4.8404)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F103F #203F10
analogous
#17103F #2F103F #3F1037
triadic
#2F103F #3F2F10 #103F2F
tetradic
#2F103F #3F1710 #203F10 #10373F
square
#2F103F #3F1710 #203F10 #10373F
split-complementary
#2F103F #373F10 #103F17
monochromatic
#120618 #120618 #2F103F #531C70 #7829A1

Accessibility & contrast

On white

16.58
#2F103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F103F
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F103F#FFFFFF#000000##FFFFFF
##2F103F1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#0C1F3E
Tritanopia (blue-blind)
#2D1925
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f103f;
/* rgb */ color: rgb(47, 16, 63);
/* oklch */ color: oklch(24.8% 0.089 312.0);
Tailwind
colors: {
  custom: {
    50: '#6a5174',
    500: '#2f103f',
    950: '#000000',
  },
}
SCSS
$custom: #2f103f;
$custom-light: #6a5174;
$custom-dark: #000000;
JSON
{
  "hex": "#2f103f",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 279.574,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24807,
    "c": 0.08884,
    "h": 312
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#2F103F
secondary
#4A7932
accent
#E3457B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F103F

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

Preview Lab → · Contrast checker → · Palette generator →

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