#2F133E#2F133E

#2F133E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.082 H 312.0°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#2F133E
RGBrgb(47, 19, 62)
HSLhsl(279, 53%, 16%)
HSVhsv(279, 69%, 24%)
CMYKcmyk(24.2%, 69.4%, 0%, 75.7%)
CIE-LABlab(12.08, 23.07, -21.80)
CIE-LCHlch(12.08, 31.74, 316.61°)
OKLaboklab(25.19% 0.0551 -0.0613)
OKLCHoklch(25.19% 0.082 312)
XYZxyz(2.2745, 1.4179, 4.7104)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F133E #223E13
analogous
#19133E #2F133E #3E1337
triadic
#2F133E #3E2F13 #133E2F
tetradic
#2F133E #3E1913 #223E13 #13373E
square
#2F133E #3E1913 #223E13 #13373E
split-complementary
#2F133E #373E13 #133E19
monochromatic
#120717 #120717 #2F133E #53216D #76309C

Accessibility & contrast

On white

16.36
#2F133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2F133E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F133E
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F133E#FFFFFF#000000##FFFFFF
##2F133E1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3F
Deuteranopia (green-blind)
#10203D
Tritanopia (blue-blind)
#2D1B26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f133e;
/* rgb */ color: rgb(47, 19, 62);
/* oklch */ color: oklch(25.2% 0.082 312.0);
Tailwind
colors: {
  custom: {
    50: '#695273',
    500: '#2f133e',
    950: '#000000',
  },
}
SCSS
$custom: #2f133e;
$custom-light: #695273;
$custom-dark: #000000;
JSON
{
  "hex": "#2f133e",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 279.07,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25193,
    "c": 0.08242,
    "h": 312
  },
  "luminance": 0.01418
}

Semantic roles & 50–950 ramp

primary
#2F133E
secondary
#4D7736
accent
#DC4B7E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F133E

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

Preview Lab → · Contrast checker → · Palette generator →

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