#270647#270647

#270647 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.110 H 300.7°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#270647
RGBrgb(39, 6, 71)
HSLhsl(270, 84%, 15%)
HSVhsv(270, 92%, 28%)
CMYKcmyk(45.1%, 91.5%, 0%, 72.2%)
CIE-LABlab(9.13, 30.62, -32.99)
CIE-LCHlch(9.13, 45.01, 312.86°)
OKLaboklab(23.08% 0.056 -0.0943)
OKLCHoklch(23.08% 0.11 300.7)
XYZxyz(2.0389, 1.0165, 6.0488)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270647 #264706
analogous
#070647 #270647 #470646
triadic
#270647 #472706 #064727
tetradic
#270647 #470706 #264706 #064647
square
#270647 #470706 #264706 #064647
split-complementary
#270647 #464706 #064707
monochromatic
#0F021C #0F021C #270647 #460B7F #6510B8

Accessibility & contrast

On white

17.45
#270647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270647
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270647#FFFFFF#000000##FFFFFF
##2706471.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001946
Tritanopia (blue-blind)
#1F1827
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270647;
/* rgb */ color: rgb(39, 6, 71);
/* oklch */ color: oklch(23.1% 0.110 300.7);
Tailwind
colors: {
  custom: {
    50: '#664b7b',
    500: '#270647',
    950: '#000000',
  },
}
SCSS
$custom: #270647;
$custom-light: #664b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#270647",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 270.462,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23076,
    "c": 0.10971,
    "h": 300.7
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#270647
secondary
#548623
accent
#FB2D92
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #270647

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

Preview Lab → · Contrast checker → · Palette generator →

#270647 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva