#270A3E#270A3E

#270A3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.094 H 305.4°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#270A3E
RGBrgb(39, 10, 62)
HSLhsl(273, 72%, 14%)
HSVhsv(273, 84%, 24%)
CMYKcmyk(37.1%, 83.9%, 0%, 75.7%)
CIE-LABlab(8.96, 26.05, -26.89)
CIE-LCHlch(8.96, 37.44, 314.09°)
OKLaboklab(22.68% 0.0544 -0.0765)
OKLCHoklch(22.68% 0.094 305.4)
XYZxyz(1.8145, 0.9962, 4.6532)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270A3E #213E0A
analogous
#0D0A3E #270A3E #3E0A3B
triadic
#270A3E #3E270A #0A3E27
tetradic
#270A3E #3E0D0A #213E0A #0A3B3E
square
#270A3E #3E0D0A #213E0A #0A3B3E
split-complementary
#270A3E #3B3E0A #0A3E0D
monochromatic
#11041A #11041A #270A3E #481373 #691BA7

Accessibility & contrast

On white

17.51
#270A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270A3E
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270A3E#FFFFFF#000000##FFFFFF
##270A3E1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#231723
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #270a3e;
/* rgb */ color: rgb(39, 10, 62);
/* oklch */ color: oklch(22.7% 0.094 305.4);
Tailwind
colors: {
  custom: {
    50: '#644c74',
    500: '#270a3e',
    950: '#000000',
  },
}
SCSS
$custom: #270a3e;
$custom-light: #644c74;
$custom-dark: #000000;
JSON
{
  "hex": "#270a3e",
  "rgb": {
    "r": 39,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 273.462,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22683,
    "c": 0.09386,
    "h": 305.4
  },
  "luminance": 0.00996
}

Semantic roles & 50–950 ramp

primary
#270A3E
secondary
#4D7B28
accent
#EF3989
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #270A3E

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

Preview Lab → · Contrast checker → · Palette generator →

#270A3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva