#27033F#27033F

#27033F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.105 H 306.6°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#27033F
RGBrgb(39, 3, 63)
HSLhsl(276, 91%, 13%)
HSVhsv(276, 95%, 25%)
CMYKcmyk(38.1%, 95.2%, 0%, 75.3%)
CIE-LABlab(7.73, 30.17, -29.61)
CIE-LCHlch(7.73, 42.27, 315.53°)
OKLaboklab(21.85% 0.0627 -0.0844)
OKLCHoklch(21.85% 0.105 306.6)
XYZxyz(1.7663, 0.8554, 4.7737)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27033F #1B3F03
analogous
#09033F #27033F #3F0339
triadic
#27033F #3F2703 #033F27
tetradic
#27033F #3F0903 #1B3F03 #03393F
square
#27033F #3F0903 #1B3F03 #03393F
split-complementary
#27033F #393F03 #033F09
monochromatic
#12011D #12011D #27033F #4B0679 #6F09B4

Accessibility & contrast

On white

17.93
#27033F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#27033F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27033F
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27033F#FFFFFF#000000##FFFFFF
##27033F1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#231322
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #27033f;
/* rgb */ color: rgb(39, 3, 63);
/* oklch */ color: oklch(21.9% 0.105 306.6);
Tailwind
colors: {
  custom: {
    50: '#654875',
    500: '#27033f',
    950: '#000000',
  },
}
SCSS
$custom: #27033f;
$custom-light: #654875;
$custom-dark: #000000;
JSON
{
  "hex": "#27033f",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 63
  },
  "hsl": {
    "h": 276,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2185,
    "c": 0.10514,
    "h": 306.6
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#27033F
secondary
#45811D
accent
#FF297E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #27033F

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

Preview Lab → · Contrast checker → · Palette generator →

#27033F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva