#2F133F#2F133F

#2F133F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.084 H 311.2°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2F133F
RGBrgb(47, 19, 63)
HSLhsl(278, 54%, 16%)
HSVhsv(278, 70%, 25%)
CMYKcmyk(25.4%, 69.8%, 0%, 75.3%)
CIE-LABlab(12.15, 23.33, -22.39)
CIE-LCHlch(12.15, 32.34, 316.18°)
OKLaboklab(25.27% 0.0551 -0.063)
OKLCHoklch(25.27% 0.084 311.2)
XYZxyz(2.3022, 1.4290, 4.8562)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F133F #233F13
analogous
#19133F #2F133F #3F1339
triadic
#2F133F #3F2F13 #133F2F
tetradic
#2F133F #3F1913 #233F13 #13393F
square
#2F133F #3F1913 #233F13 #13393F
split-complementary
#2F133F #393F13 #133F19
monochromatic
#120718 #120718 #2F133F #52216E #752F9D

Accessibility & contrast

On white

16.33
#2F133F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2F133F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F133F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F133F#FFFFFF#000000##FFFFFF
##2F133F1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E40
Deuteranopia (green-blind)
#0F203E
Tritanopia (blue-blind)
#2D1B26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2f133f;
/* rgb */ color: rgb(47, 19, 63);
/* oklch */ color: oklch(25.3% 0.084 311.2);
Tailwind
colors: {
  custom: {
    50: '#695274',
    500: '#2f133f',
    950: '#000000',
  },
}
SCSS
$custom: #2f133f;
$custom-light: #695274;
$custom-dark: #000000;
JSON
{
  "hex": "#2f133f",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 63
  },
  "hsl": {
    "h": 278.182,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.2527,
    "c": 0.08372,
    "h": 311.2
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#2F133F
secondary
#4E7836
accent
#DD4B80
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2F133F

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

Preview Lab → · Contrast checker → · Palette generator →

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