#270346#270346

#270346 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.6% C 0.113 H 302.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#270346
RGBrgb(39, 3, 70)
HSLhsl(272, 92%, 14%)
HSVhsv(272, 96%, 27%)
CMYKcmyk(44.3%, 95.7%, 0%, 72.5%)
CIE-LABlab(8.47, 31.98, -33.37)
CIE-LCHlch(8.47, 46.22, 313.78°)
OKLaboklab(22.59% 0.0597 -0.0954)
OKLCHoklch(22.59% 0.113 302)
XYZxyz(1.9745, 0.9386, 5.8703)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270346 #224603
analogous
#060346 #270346 #460344
triadic
#270346 #462703 #034627
tetradic
#270346 #460603 #224603 #034446
square
#270346 #460603 #224603 #034446
split-complementary
#270346 #444603 #034606
monochromatic
#10011D #10011D #270346 #480681 #6808BB

Accessibility & contrast

On white

17.68
#270346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270346
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270346#FFFFFF#000000##FFFFFF
##2703461.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#201726
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #270346;
/* rgb */ color: rgb(39, 3, 70);
/* oklch */ color: oklch(22.6% 0.113 302.0);
Tailwind
colors: {
  custom: {
    50: '#66497a',
    500: '#270346',
    950: '#000000',
  },
}
SCSS
$custom: #270346;
$custom-light: #66497a;
$custom-dark: #000000;
JSON
{
  "hex": "#270346",
  "rgb": {
    "r": 39,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 272.239,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2259,
    "c": 0.11253,
    "h": 302
  },
  "luminance": 0.00939
}

Semantic roles & 50–950 ramp

primary
#270346
secondary
#4E871D
accent
#FF298C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #270346

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

Preview Lab → · Contrast checker → · Palette generator →

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