#2F103C#2F103C

#2F103C is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.6% C 0.085 H 314.4°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#2F103C
RGBrgb(47, 16, 60)
HSLhsl(282, 58%, 15%)
HSVhsv(282, 73%, 24%)
CMYKcmyk(21.7%, 73.3%, 0%, 76.5%)
CIE-LABlab(11.28, 24.31, -21.65)
CIE-LCHlch(11.28, 32.55, 318.31°)
OKLaboklab(24.57% 0.0596 -0.0608)
OKLCHoklch(24.57% 0.085 314.4)
XYZxyz(2.1731, 1.3012, 4.4108)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F103C #1D3C10
analogous
#19103C #2F103C #3C1033
triadic
#2F103C #3C2F10 #103C2F
tetradic
#2F103C #3C1910 #1D3C10 #10333C
square
#2F103C #3C1910 #1D3C10 #10333C
split-complementary
#2F103C #333C10 #103C19
monochromatic
#130618 #130618 #2F103C #551D6C #7B2A9D

Accessibility & contrast

On white

16.66
#2F103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F103C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F103C
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F103C#FFFFFF#000000##FFFFFF
##2F103C1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3D
Deuteranopia (green-blind)
#0F1F3B
Tritanopia (blue-blind)
#2E1824
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f103c;
/* rgb */ color: rgb(47, 16, 60);
/* oklch */ color: oklch(24.6% 0.085 314.4);
Tailwind
colors: {
  custom: {
    50: '#695072',
    500: '#2f103c',
    950: '#000000',
  },
}
SCSS
$custom: #2f103c;
$custom-light: #695072;
$custom-dark: #000000;
JSON
{
  "hex": "#2f103c",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 282.273,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24572,
    "c": 0.08516,
    "h": 314.4
  },
  "luminance": 0.01301
}

Semantic roles & 50–950 ramp

primary
#2F103C
secondary
#467632
accent
#E14774
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F103C

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

Preview Lab → · Contrast checker → · Palette generator →

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