#230334#230334

#230334 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.092 H 310.6°. Best body text is #FFFFFF at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#230334
RGBrgb(35, 3, 52)
HSLhsl(279, 89%, 11%)
HSVhsv(279, 94%, 20%)
CMYKcmyk(32.7%, 94.2%, 0%, 79.6%)
CIE-LABlab(6.06, 25.88, -24.37)
CIE-LCHlch(6.06, 35.55, 316.72°)
OKLaboklab(20.08% 0.06 -0.0701)
OKLCHoklch(20.08% 0.092 310.6)
XYZxyz(1.3454, 0.6704, 3.3067)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230334 #143403
analogous
#0A0334 #230334 #34032C
triadic
#230334 #342303 #033423
tetradic
#230334 #340A03 #143403 #032C34
square
#230334 #340A03 #143403 #032C34
split-complementary
#230334 #2C3403 #03340A
monochromatic
#13021D #13021D #230334 #4A066E #710AA8

Accessibility & contrast

On white

18.52
#230334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#230334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230334
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230334#FFFFFF#000000##FFFFFF
##2303341.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001433
Tritanopia (blue-blind)
#210F1B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #230334;
/* rgb */ color: rgb(35, 3, 52);
/* oklch */ color: oklch(20.1% 0.092 310.6);
Tailwind
colors: {
  custom: {
    50: '#60476c',
    500: '#230334',
    950: '#000000',
  },
}
SCSS
$custom: #230334;
$custom-light: #60476c;
$custom-dark: #000000;
JSON
{
  "hex": "#230334",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 279.184,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20076,
    "c": 0.09226,
    "h": 310.6
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#230334
secondary
#3B771C
accent
#FF2973
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050007
muted
#79777A

Preview Lab

Preview with #230334

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

Preview Lab → · Contrast checker → · Palette generator →

#230334 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva