#270B3D#270B3D

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

Color values

HEX#270B3D
RGBrgb(39, 11, 61)
HSLhsl(274, 69%, 14%)
HSVhsv(274, 82%, 24%)
CMYKcmyk(36.1%, 82%, 0%, 76.1%)
CIE-LABlab(9.05, 25.24, -26.02)
CIE-LCHlch(9.05, 36.25, 314.13°)
OKLaboklab(22.72% 0.0534 -0.0739)
OKLCHoklch(22.72% 0.091 305.9)
XYZxyz(1.7985, 1.0076, 4.5137)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B3D #213D0B
analogous
#0E0B3D #270B3D #3D0B3A
triadic
#270B3D #3D270B #0B3D27
tetradic
#270B3D #3D0E0B #213D0B #0B3A3D
square
#270B3D #3D0E0B #213D0B #0B3A3D
split-complementary
#270B3D #3A3D0B #0B3D0E
monochromatic
#11051A #11051A #270B3D #481471 #691EA5

Accessibility & contrast

On white

17.48
#270B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270B3D
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B3D#FFFFFF#000000##FFFFFF
##270B3D1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#231723
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270b3d;
/* rgb */ color: rgb(39, 11, 61);
/* oklch */ color: oklch(22.7% 0.091 305.9);
Tailwind
colors: {
  custom: {
    50: '#644d73',
    500: '#270b3d',
    950: '#000000',
  },
}
SCSS
$custom: #270b3d;
$custom-light: #644d73;
$custom-dark: #000000;
JSON
{
  "hex": "#270b3d",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 273.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22722,
    "c": 0.09122,
    "h": 305.9
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#270B3D
secondary
#4D7A2A
accent
#EC3C89
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #270B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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