#2F0E45#2F0E45

#2F0E45 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.099 H 308.2°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#2F0E45
RGBrgb(47, 14, 69)
HSLhsl(276, 66%, 16%)
HSVhsv(276, 80%, 27%)
CMYKcmyk(31.9%, 79.7%, 0%, 72.9%)
CIE-LABlab(11.61, 27.76, -27.49)
CIE-LCHlch(11.61, 39.07, 315.27°)
OKLaboklab(25.03% 0.0613 -0.0779)
OKLCHoklch(25.03% 0.099 308.2)
XYZxyz(2.4033, 1.3481, 5.7627)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E45 #24450E
analogous
#140E45 #2F0E45 #450E40
triadic
#2F0E45 #452F0E #0E452F
tetradic
#2F0E45 #45140E #24450E #0E4045
square
#2F0E45 #45140E #24450E #0E4045
split-complementary
#2F0E45 #40450E #0E4514
monochromatic
#110519 #110519 #2F0E45 #521878 #7423AB

Accessibility & contrast

On white

16.54
#2F0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2F0E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E45
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E45#FFFFFF#000000##FFFFFF
##2F0E451.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#021F44
Tritanopia (blue-blind)
#2C1B28
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2f0e45;
/* rgb */ color: rgb(47, 14, 69);
/* oklch */ color: oklch(25.0% 0.099 308.2);
Tailwind
colors: {
  custom: {
    50: '#6a5079',
    500: '#2f0e45',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e45;
$custom-light: #6a5079;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e45",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 276,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25031,
    "c": 0.09918,
    "h": 308.2
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#2F0E45
secondary
#4F802F
accent
#E93F83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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