#2F103B#2F103B

#2F103B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.084 H 315.3°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#2F103B
RGBrgb(47, 16, 59)
HSLhsl(283, 57%, 15%)
HSVhsv(283, 73%, 23%)
CMYKcmyk(20.3%, 72.9%, 0%, 76.9%)
CIE-LABlab(11.21, 24.05, -21.05)
CIE-LCHlch(11.21, 31.96, 318.81°)
OKLaboklab(24.5% 0.0596 -0.0591)
OKLCHoklch(24.5% 0.084 315.3)
XYZxyz(2.1469, 1.2908, 4.2729)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F103B #1C3B10
analogous
#1A103B #2F103B #3B1032
triadic
#2F103B #3B2F10 #103B2F
tetradic
#2F103B #3B1A10 #1C3B10 #10323B
square
#2F103B #3B1A10 #1C3B10 #10323B
split-complementary
#2F103B #323B10 #103B1A
monochromatic
#130718 #130718 #2F103B #551D6B #7C2A9B

Accessibility & contrast

On white

16.69
#2F103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F103B
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F103B#FFFFFF#000000##FFFFFF
##2F103B1.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#0F1F3A
Tritanopia (blue-blind)
#2E1823
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f103b;
/* rgb */ color: rgb(47, 16, 59);
/* oklch */ color: oklch(24.5% 0.084 315.3);
Tailwind
colors: {
  custom: {
    50: '#695071',
    500: '#2f103b',
    950: '#000000',
  },
}
SCSS
$custom: #2f103b;
$custom-light: #695071;
$custom-dark: #000000;
JSON
{
  "hex": "#2f103b",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 283.256,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24495,
    "c": 0.08393,
    "h": 315.3
  },
  "luminance": 0.01291
}

Semantic roles & 50–950 ramp

primary
#2F103B
secondary
#457532
accent
#E14772
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #2F103B

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

Preview Lab → · Contrast checker → · Palette generator →

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