#2F1053#2F1053

#2F1053 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.113 H 299.6°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#2F1053
RGBrgb(47, 16, 83)
HSLhsl(268, 68%, 19%)
HSVhsv(268, 81%, 33%)
CMYKcmyk(43.4%, 80.7%, 0%, 67.5%)
CIE-LABlab(13.23, 30.59, -34.54)
CIE-LCHlch(13.23, 46.14, 311.54°)
OKLaboklab(26.57% 0.056 -0.0987)
OKLCHoklch(26.57% 0.113 299.6)
XYZxyz(2.9185, 1.5994, 8.3369)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1053 #345310
analogous
#101353 #2F1053 #511053
triadic
#2F1053 #532F10 #10532F
tetradic
#2F1053 #531013 #345310 #105351
square
#2F1053 #531013 #345310 #105351
split-complementary
#2F1053 #535110 #135310
monochromatic
#0F051A #120620 #2F1053 #4C1A86 #6924BA

Accessibility & contrast

On white

15.91
#2F1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2F1053 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1053
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1053#FFFFFF#000000##FFFFFF
##2F10531.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#262130
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2f1053;
/* rgb */ color: rgb(47, 16, 83);
/* oklch */ color: oklch(26.6% 0.113 299.6);
Tailwind
colors: {
  custom: {
    50: '#6c5284',
    500: '#2f1053',
    950: '#000000',
  },
}
SCSS
$custom: #2f1053;
$custom-light: #6c5284;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1053",
  "rgb": {
    "r": 47,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 267.761,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2657,
    "c": 0.11343,
    "h": 299.6
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#2F1053
secondary
#638D32
accent
#EB3D9A
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2F1053

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

Preview Lab → · Contrast checker → · Palette generator →

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