#27124F#27124F

#27124F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.105 H 293.3°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#27124F
RGBrgb(39, 18, 79)
HSLhsl(261, 63%, 19%)
HSVhsv(261, 77%, 31%)
CMYKcmyk(50.6%, 77.2%, 0%, 69%)
CIE-LABlab(12.15, 26.66, -33.61)
CIE-LCHlch(12.15, 42.90, 308.43°)
OKLaboklab(25.44% 0.0414 -0.0963)
OKLCHoklch(25.44% 0.105 293.3)
XYZxyz(2.4639, 1.4284, 7.5415)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27124F #3A4F12
analogous
#121C4F #27124F #46124F
triadic
#27124F #4F2712 #124F27
tetradic
#27124F #4F121C #3A4F12 #124F46
square
#27124F #4F121C #3A4F12 #124F46
split-complementary
#27124F #4F4612 #1C4F12
monochromatic
#0C0619 #0E071D #27124F #401D81 #5829B3

Accessibility & contrast

On white

16.33
#27124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#27124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27124F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27124F#FFFFFF#000000##FFFFFF
##27124F1.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)
#002151
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#1B212F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #27124f;
/* rgb */ color: rgb(39, 18, 79);
/* oklch */ color: oklch(25.4% 0.105 293.3);
Tailwind
colors: {
  custom: {
    50: '#665281',
    500: '#27124f',
    950: '#000000',
  },
}
SCSS
$custom: #27124f;
$custom-light: #665281;
$custom-dark: #000000;
JSON
{
  "hex": "#27124f",
  "rgb": {
    "r": 39,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 260.656,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25441,
    "c": 0.10479,
    "h": 293.3
  },
  "luminance": 0.01428
}

Semantic roles & 50–950 ramp

primary
#27124F
secondary
#6B8835
accent
#E642AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #27124F

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

Preview Lab → · Contrast checker → · Palette generator →

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