#230B36#230B36

#230B36 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.081 H 306.3°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#230B36
RGBrgb(35, 11, 54)
HSLhsl(273, 66%, 13%)
HSVhsv(273, 80%, 21%)
CMYKcmyk(35.2%, 79.6%, 0%, 78.8%)
CIE-LABlab(7.80, 22.25, -23.03)
CIE-LCHlch(7.80, 32.02, 314.01°)
OKLaboklab(21.49% 0.048 -0.0653)
OKLCHoklch(21.49% 0.081 306.3)
XYZxyz(1.4785, 0.8630, 3.5780)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B36 #1E360B
analogous
#0D0B36 #230B36 #360B33
triadic
#230B36 #36230B #0B3623
tetradic
#230B36 #360D0B #1E360B #0B3336
square
#230B36 #360D0B #1E360B #0B3336
split-complementary
#230B36 #33360B #0B360D
monochromatic
#100519 #100519 #230B36 #441569 #65209C

Accessibility & contrast

On white

17.91
#230B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B36
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B36#FFFFFF#000000##FFFFFF
##230B361.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#021735
Tritanopia (blue-blind)
#20141F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230b36;
/* rgb */ color: rgb(35, 11, 54);
/* oklch */ color: oklch(21.5% 0.081 306.3);
Tailwind
colors: {
  custom: {
    50: '#604c6d',
    500: '#230b36',
    950: '#000000',
  },
}
SCSS
$custom: #230b36;
$custom-light: #604c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#230b36",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 273.488,
    "s": 66.154,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2149,
    "c": 0.08105,
    "h": 306.3
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#230B36
secondary
#4A732A
accent
#E93F8A
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230B36

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

Preview Lab → · Contrast checker → · Palette generator →

#230B36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva