#270643#270643

#270643 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.105 H 303.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#270643
RGBrgb(39, 6, 67)
HSLhsl(272, 84%, 14%)
HSVhsv(272, 91%, 26%)
CMYKcmyk(41.8%, 91%, 0%, 73.7%)
CIE-LABlab(8.71, 29.53, -30.85)
CIE-LCHlch(8.71, 42.71, 313.75°)
OKLaboklab(22.66% 0.0575 -0.0881)
OKLCHoklch(22.66% 0.105 303.1)
XYZxyz(1.9147, 0.9668, 5.3948)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270643 #224306
analogous
#090643 #270643 #430641
triadic
#270643 #432706 #064327
tetradic
#270643 #430906 #224306 #064143
square
#270643 #430906 #224306 #064143
split-complementary
#270643 #414306 #064309
monochromatic
#10031C #10031C #270643 #480B7B #6810B3

Accessibility & contrast

On white

17.60
#270643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#270643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270643
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270643#FFFFFF#000000##FFFFFF
##2706431.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001942
Tritanopia (blue-blind)
#211725
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270643;
/* rgb */ color: rgb(39, 6, 67);
/* oklch */ color: oklch(22.7% 0.105 303.1);
Tailwind
colors: {
  custom: {
    50: '#654a78',
    500: '#270643',
    950: '#000000',
  },
}
SCSS
$custom: #270643;
$custom-light: #654a78;
$custom-dark: #000000;
JSON
{
  "hex": "#270643",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 67
  },
  "hsl": {
    "h": 272.459,
    "s": 83.562,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2266,
    "c": 0.10519,
    "h": 303.1
  },
  "luminance": 0.00967
}

Semantic roles & 50–950 ramp

primary
#270643
secondary
#4E8322
accent
#FA2E8C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #270643

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

Preview Lab → · Contrast checker → · Palette generator →

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