#270B3F#270B3F

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

Color values

HEX#270B3F
RGBrgb(39, 11, 63)
HSLhsl(272, 70%, 15%)
HSVhsv(272, 83%, 25%)
CMYKcmyk(38.1%, 82.5%, 0%, 75.3%)
CIE-LABlab(9.24, 25.81, -27.16)
CIE-LCHlch(9.24, 37.46, 313.54°)
OKLaboklab(22.91% 0.053 -0.0773)
OKLCHoklch(22.91% 0.094 304.5)
XYZxyz(1.8534, 1.0296, 4.8027)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B3F #233F0B
analogous
#0D0B3F #270B3F #3F0B3D
triadic
#270B3F #3F270B #0B3F27
tetradic
#270B3F #3F0D0B #233F0B #0B3D3F
square
#270B3F #3F0D0B #233F0B #0B3D3F
split-complementary
#270B3F #3D3F0B #0B3F0D
monochromatic
#10051A #10051A #270B3F #471473 #681DA7

Accessibility & contrast

On white

17.41
#270B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#270B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270B3F
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B3F#FFFFFF#000000##FFFFFF
##270B3F1.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001940
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#221824
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270b3f;
/* rgb */ color: rgb(39, 11, 63);
/* oklch */ color: oklch(22.9% 0.094 304.5);
Tailwind
colors: {
  custom: {
    50: '#644d74',
    500: '#270b3f',
    950: '#000000',
  },
}
SCSS
$custom: #270b3f;
$custom-light: #644d74;
$custom-dark: #000000;
JSON
{
  "hex": "#270b3f",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 272.308,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22907,
    "c": 0.09371,
    "h": 304.5
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#270B3F
secondary
#507C2A
accent
#ED3B8D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #270B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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