#230C36#230C36

#230C36 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.079 H 305.9°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#230C36
RGBrgb(35, 12, 54)
HSLhsl(273, 64%, 13%)
HSVhsv(273, 78%, 21%)
CMYKcmyk(35.2%, 77.8%, 0%, 78.8%)
CIE-LABlab(8.01, 21.66, -22.69)
CIE-LCHlch(8.01, 31.37, 313.67°)
OKLaboklab(21.64% 0.0466 -0.0643)
OKLCHoklch(21.64% 0.079 305.9)
XYZxyz(1.4903, 0.8866, 3.5819)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C36 #1F360C
analogous
#0E0C36 #230C36 #360C34
triadic
#230C36 #36230C #0C3623
tetradic
#230C36 #360E0C #1F360C #0C3436
square
#230C36 #360E0C #1F360C #0C3436
split-complementary
#230C36 #34360C #0C360E
monochromatic
#100619 #100619 #230C36 #431768 #64229A

Accessibility & contrast

On white

17.84
#230C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C36
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C36#FFFFFF#000000##FFFFFF
##230C361.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#031835
Tritanopia (blue-blind)
#20151F
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230c36;
/* rgb */ color: rgb(35, 12, 54);
/* oklch */ color: oklch(21.6% 0.079 305.9);
Tailwind
colors: {
  custom: {
    50: '#604c6d',
    500: '#230c36',
    950: '#000000',
  },
}
SCSS
$custom: #230c36;
$custom-light: #604c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#230c36",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 54
  },
  "hsl": {
    "h": 272.857,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21644,
    "c": 0.07941,
    "h": 305.9
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#230C36
secondary
#4C722C
accent
#E7418C
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230C36

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

Preview Lab → · Contrast checker → · Palette generator →

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