#230A36#230A36

#230A36 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.083 H 306.6°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#230A36
RGBrgb(35, 10, 54)
HSLhsl(274, 69%, 13%)
HSVhsv(274, 81%, 21%)
CMYKcmyk(35.2%, 81.5%, 0%, 78.8%)
CIE-LABlab(7.59, 22.80, -23.36)
CIE-LCHlch(7.59, 32.64, 314.31°)
OKLaboklab(21.34% 0.0493 -0.0663)
OKLCHoklch(21.34% 0.083 306.6)
XYZxyz(1.4674, 0.8408, 3.5743)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A36 #1D360A
analogous
#0D0A36 #230A36 #360A33
triadic
#230A36 #36230A #0A3623
tetradic
#230A36 #360D0A #1D360A #0A3336
square
#230A36 #360D0A #1D360A #0A3336
split-complementary
#230A36 #33360A #0A360D
monochromatic
#11051A #11051A #230A36 #44146A #661D9D

Accessibility & contrast

On white

17.98
#230A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230A36
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A36#FFFFFF#000000##FFFFFF
##230A361.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230a36;
/* rgb */ color: rgb(35, 10, 54);
/* oklch */ color: oklch(21.3% 0.083 306.6);
Tailwind
colors: {
  custom: {
    50: '#604b6d',
    500: '#230a36',
    950: '#000000',
  },
}
SCSS
$custom: #230a36;
$custom-light: #604b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#230a36",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 54
  },
  "hsl": {
    "h": 274.091,
    "s": 68.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21342,
    "c": 0.08262,
    "h": 306.6
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#230A36
secondary
#497328
accent
#EC3C88
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230A36

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

Preview Lab → · Contrast checker → · Palette generator →

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