#230F62#230F62

#230F62 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.133 H 283.7°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#230F62
RGBrgb(35, 15, 98)
HSLhsl(254, 73%, 22%)
HSVhsv(254, 85%, 38%)
CMYKcmyk(64.3%, 84.7%, 0%, 61.6%)
CIE-LABlab(13.11, 33.72, -44.88)
CIE-LCHlch(13.11, 56.14, 306.92°)
OKLaboklab(26.62% 0.0316 -0.1294)
OKLCHoklch(26.62% 0.133 283.7)
XYZxyz(3.0679, 1.5806, 11.6963)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F62 #4E620F
analogous
#0F2562 #230F62 #4D0F62
triadic
#230F62 #62230F #0F6223
tetradic
#230F62 #620F25 #4E620F #0F624D
square
#230F62 #620F25 #4E620F #0F624D
split-complementary
#230F62 #624D0F #25620F
monochromatic
#09041B #10072D #230F62 #361797 #491FCC

Accessibility & contrast

On white

15.96
#230F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#230F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F62
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F62#FFFFFF#000000##FFFFFF
##230F621.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001F61
Tritanopia (blue-blind)
#002839
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #230f62;
/* rgb */ color: rgb(35, 15, 98);
/* oklch */ color: oklch(26.6% 0.133 283.7);
Tailwind
colors: {
  custom: {
    50: '#685190',
    500: '#230f62',
    950: '#000000',
  },
}
SCSS
$custom: #230f62;
$custom-light: #685190;
$custom-dark: #000000;
JSON
{
  "hex": "#230f62",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 254.458,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2662,
    "c": 0.13319,
    "h": 283.7
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#230F62
secondary
#829B32
accent
#F038C4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #230F62

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

Preview Lab → · Contrast checker → · Palette generator →

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