#230A34#230A34

#230A34 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.080 H 308.3°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#230A34
RGBrgb(35, 10, 52)
HSLhsl(276, 68%, 12%)
HSVhsv(276, 81%, 20%)
CMYKcmyk(32.7%, 80.8%, 0%, 79.6%)
CIE-LABlab(7.43, 22.20, -22.16)
CIE-LCHlch(7.43, 31.37, 315.05°)
OKLaboklab(21.16% 0.0496 -0.0628)
OKLCHoklch(21.16% 0.08 308.3)
XYZxyz(1.4214, 0.8224, 3.3320)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A34 #1B340A
analogous
#0E0A34 #230A34 #340A30
triadic
#230A34 #34230A #0A3423
tetradic
#230A34 #340E0A #1B340A #0A3034
square
#230A34 #340E0A #1B340A #0A3034
split-complementary
#230A34 #30340A #0A340E
monochromatic
#11051A #11051A #230A34 #461467 #681E9B

Accessibility & contrast

On white

18.04
#230A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A34
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A34#FFFFFF#000000##FFFFFF
##230A341.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#031733
Tritanopia (blue-blind)
#20131D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230a34;
/* rgb */ color: rgb(35, 10, 52);
/* oklch */ color: oklch(21.2% 0.080 308.3);
Tailwind
colors: {
  custom: {
    50: '#604b6c',
    500: '#230a34',
    950: '#000000',
  },
}
SCSS
$custom: #230a34;
$custom-light: #604b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#230a34",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 52
  },
  "hsl": {
    "h": 275.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21164,
    "c": 0.08005,
    "h": 308.3
  },
  "luminance": 0.00822
}

Semantic roles & 50–950 ramp

primary
#230A34
secondary
#467128
accent
#EB3D83
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230A34

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

Preview Lab → · Contrast checker → · Palette generator →

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